Can't connect to MySQL server

I have 2 server. web server and database server. Detail like below but the IP is not real.

just example.

webserver detail

– IP Address: &

– Local IP:

– username: root

– password: data12345

Database server detail

– Ip address:

– local ip:

– username: root

– password: mysql12345


///DB Settings

$dbname = “site_wpmu”; //This is your current database

$blog_table_prefix = ‘wp_’; //Prefix of your wpmu blog tables, most likely this won’t need

to be changed

$newdb_prefix = ‘site_’; //This is the prefix of the db’s you’re moving your tables into –

we assume they are all the same, if not, you’re in trouble

//We need info to connect to the databases

$dbhost = ‘’;

$dbuname = ‘root’;

$dbpass = ‘mysql12345’;


add_dc_ip(‘’, ‘dc1’:wink:;

add_db_server(‘global’, ‘dc1′, 1, 1,’1150.150.150.150′,’’,

‘site_global’, ‘root’, ‘mysql12345’:wink:;

add_db_server(‘000’, ‘dc1′, 1, 1,’′,’’, ‘site_000’,

‘root’, ‘mysql12345’:wink:;

add_db_server(‘001’, ‘dc1′, 1, 1,’′,’’, ‘site_001’,

‘root’, ‘mysql12345’:wink:;

then i got error. I attach the screenshot for reference.