I have multi-site network created on my server which works fine.For this i want to install Multi Db plugin,So first i have tried this plug-in on local server with 16 databases and followed instructions in read me and it worked fine.But when not i want to install it on live server which is an dedicated server.

I have Amazon EC2(instance) Server where my word-press multisite installed.I have all permission on server.But this plug-in not working on live server.

As soon as i upload db.php site get down.
I think there may be minor mistake but i cant figure it out.

Here are some content of my db-config.php file

    add_db_server('global', 'dc1', 1, 1,'','localhost', 'lifestyledesign_pros_global', 'demo',  'demo');
add_db_server('0', 'dc1', 1, 1,'','localhost', 'lifestyledesign_pros_0', 'demo',  'demo');
add_db_server('1', 'dc1', 1, 1,'','localhost', 'lifestyledesign_pros_1', 'demo',  'demo');
add_db_server('2', 'dc1', 1, 1,'','localhost', 'lifestyledesign_pros_2', 'demo',  'demo');
add_db_server('3', 'dc1', 1, 1,'','localhost', 'lifestyledesign_pros_3', 'demo',  'demo');
add_db_server('4', 'dc1', 1, 1,'','localhost', 'lifestyledesign_pros_4', 'demo',  'demo');
add_db_server('5', 'dc1', 1, 1,'','localhost', 'lifestyledesign_pros_5', 'demo',  'demo');
add_db_server('6', 'dc1', 1, 1,'','localhost', 'lifestyledesign_pros_6', 'demo',  'demo');
add_db_server('7', 'dc1', 1, 1,'','localhost', 'lifestyledesign_pros_7', 'demo',  'demo');
add_db_server('8', 'dc1', 1, 1,'','localhost', 'lifestyledesign_pros_8', 'demo',  'demo');
add_db_server('9', 'dc1', 1, 1,'','localhost', 'lifestyledesign_pros_9', 'demo',  'demo');
add_db_server('a', 'dc1', 1, 1,'','localhost', 'lifestyledesign_pros_a', 'demo',  'demo');
add_db_server('b', 'dc1', 1, 1,'','localhost', 'lifestyledesign_pros_b', 'demo',  'demo');
add_db_server('c', 'dc1', 1, 1,'','localhost', 'lifestyledesign_pros_c', 'demo',  'demo');
add_db_server('d', 'dc1', 1, 1,'','localhost', 'lifestyledesign_pros_d', 'demo',  'demo');
add_db_server('e', 'dc1', 1, 1,'','localhost', 'lifestyledesign_pros_e', 'demo',  'demo');
add_db_server('f', 'dc1', 1, 1,'','localhost', 'lifestyledesign_pros_f', 'demo',  'demo');

Read more here: How to install multi-db plug-in for multi-site on ec2 instance server


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: