Database Connection error – MULTI-DB


I have spent hours studying different topics in forum on multi-db. It has helped me to get as far successfully(I think) configuring db-config and moving blogs yeah!!

Now I have at the last hurdle, to visit the site…

My page is loading with “database connection error”, I have searched for this topic/issue and tried everything that was mentioned but i dont know what I am missing…

db-config.php is as followings

add_db_server(‘global’, ‘dc1′, 1, 1,’localhost’,’localhost’, ‘xxx_wp1global’, ‘user’, ‘password’:wink:;

add_db_server(‘global’, ‘dc1′, 1, 1,’localhost’,’localhost’, ‘xxx_wp1global’, ‘user’, ‘password’:wink:;



define(‘DB_NAME’, ‘xxx_wp1global’:wink:;

/** MySQL database username */

define(‘DB_USER’, ‘user’:wink:;

/** MySQL database password */

define(‘DB_PASSWORD’, ‘password’:wink:;

/** MySQL hostname */

define(‘DB_HOST’, ‘localhost’:wink:;

I am on a reseller cpanel account. site worked fine before installing multi-db and the db username and password worked fine when I did move.

I need your assistance