I'm little confuse? Do I have To Create the (dbname_global) obligated? Or (dbname_) is enough?

I'm little confuse? I only created the (dbname_) which in my case is (revoluti_something)
My question is do I have to create the (dbname_global) which I think in my case will be (revoluti_something_global)?

And the add both (revoluti_something) and (revoluti_something_glabal) to my SQL and add them both to the db.config.php as well?

Or Is enough me creating the
(revoluti_something) and adding that to my sql?

Not sure what is the one with _global for and if it need it at all?

Thanks,

  • Jack Kitterhing
    • Code Norris

    Hi there @revolution,

    Hope you're well today and thanks for your question.

    It should be like this

    add_db_server('global', 'dc1', 1, 1,'64.120.23.72','192.168.0.101', 'revoluti_something_global', 'db_user_name',  'db_user_name_pass');
    
    add_db_server('0', 'dc1', 1, 1,'64.120.23.72','192.168.0.101', 'wpmu_0', 'db_user_name',  'db_user_name_pass');
    add_db_server('1', 'dc1', 1, 1,'64.120.23.72','192.168.0.101', 'wpmu_1', 'db_user_name',  'db_user_name_pass');
    add_db_server('2', 'dc1', 1, 1,'64.120.23.72','192.168.0.101', 'wpmu_2', 'db_user_name',  'db_user_name_pass');
    add_db_server('3', 'dc1', 1, 1,'64.120.23.72','192.168.0.101', 'wpmu_3', 'db_user_name',  'db_user_name_pass');
    add_db_server('4', 'dc1', 1, 1,'64.120.23.72','192.168.0.101', 'wpmu_4', 'db_user_name',  'db_user_name_pass');
    add_db_server('5', 'dc1', 1, 1,'64.120.23.72','192.168.0.101', 'wpmu_5', 'db_user_name',  'db_user_name_pass');
    add_db_server('6', 'dc1', 1, 1,'64.120.23.72','192.168.0.101', 'wpmu_6', 'db_user_name',  'db_user_name_pass');
    add_db_server('7', 'dc1', 1, 1,'64.120.23.72','192.168.0.101', 'wpmu_7', 'db_user_name',  'db_user_name_pass');
    add_db_server('8', 'dc1', 1, 1,'64.120.23.72','192.168.0.101', 'wpmu_8', 'db_user_name',  'db_user_name_pass');
    add_db_server('9', 'dc1', 1, 1,'64.120.23.72','192.168.0.101', 'wpmu_9', 'db_user_name',  'db_user_name_pass');
    add_db_server('a', 'dc1', 1, 1,'64.120.23.72','192.168.0.101', 'wpmu_a', 'db_user_name',  'db_user_name_pass');
    add_db_server('b', 'dc1', 1, 1,'64.120.23.72','192.168.0.101', 'wpmu_b', 'db_user_name',  'db_user_name_pass');
    add_db_server('c', 'dc1', 1, 1,'64.120.23.72','192.168.0.101', 'wpmu_c', 'db_user_name',  'db_user_name_pass');
    add_db_server('d', 'dc1', 1, 1,'64.120.23.72','192.168.0.101', 'wpmu_d', 'db_user_name',  'db_user_name_pass');
    add_db_server('e', 'dc1', 1, 1,'64.120.23.72','192.168.0.101', 'wpmu_e', 'db_user_name',  'db_user_name_pass');
    add_db_server('f', 'dc1', 1, 1,'64.120.23.72','192.168.0.101', 'wpmu_f', 'db_user_name',  'db_user_name_pass');

    Where the wpmu, would be your own database names that you created, i.e, revoluti_something_f
    revoluti_something_e etc :slight_smile:

    If that makes sense? I'm here to help :slight_smile:

    Thanks!

    Kind Regards
    Jack.

  • revolution
    • Design Lord, Child of Thor

    Hi Jack, I see. Now do I have to add my global:
    add_db_server('global', 'dc1', 1, 1,'64.120.23.72','192.168.0.101', 'revoluti_something_global', 'db_user_name', 'db_user_name_pass');

    To my sql data base in my php admind. Or only the regular ones without the global?
    thanks

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.