problems installing multi-db

Hacky Code
Sophomore
Just Getting Started

Member    Likes (0)

Hi,

Move scripts appears to have worked correctly as it states "exists" and "table in new db" for each table, however i now get the following error on my home page:

Warning: Missing argument 9 for add_db_server(), called in /home/burblco/public_html/wp-content/db-config.php on line 37 and defined in /home/burblco/public_html/wp-content/db.php on line 35

Warning: mysql_get_server_info() [function.mysql-get-server-info]: Access denied for user 'burblco'@'localhost' (using password: NO) in /home/burblco/public_html/wp-content/db.php on line 705

Warning: mysql_get_server_info() [function.mysql-get-server-info]: A link to the server could not be established in /home/burblco/public_html/wp-content/db.php on line 705

Warning: Cannot modify header information - headers already sent by (output started at /home/burblco/public_html/wp-content/db.php:35) in /home/burblco/public_html/wp-includes/functions.php on line 3371
Error establishing a database connection

my db config:

define ('DB_SCALING', '256');
//------------------------------------------------------------------------//
//---DC IPs---------------------------------------------------------------//
//------------------------------------------------------------------------//
// Usage: add_dc_ip(IP, DC)
// EX: add_dc_ip('123.123.123.', 'dc1');
add_dc_ip('64.131.68.74.', 'dc1');
//------------------------------------------------------------------------//
//---Global Tables--------------------------------------------------------//
//------------------------------------------------------------------------//
// Do not include default global tables
// Leave off base prefix (eg: wp_)
//
// Usage: add_global_table(TABLE_NAME)
// EX: add_global_table('something');
// add_global_table('burblco_global'); (commented out while trying to get installation to work)
//------------------------------------------------------------------------//
//---DB Servers-----------------------------------------------------------//
//------------------------------------------------------------------------//
// Database servers grouped by dataset.
// R can be 0 (no reads) or a positive integer indicating the order
// in which to attempt communication (all locals, then all remotes)
//
// Usage: add_db_server(DS, DC, READ, WRITE, HOST, LAN_HOST, NAME, USER, PASS)
// EX: add_db_server('global', 'dc1', 1, 1,'global.mysql.example.com:3509','global.mysql.example.lan:3509', 'global-db', 'globaluser', 'globalpassword');
//
// Note: you can also place this section in a file called db-list.php in wp-content
add_db_server('global', 'dc1', 1, 1,'64.131.68.74', 'burblco_global', 'user_user, 'password');
add_db_server('00', 'dc1', 1, 1,'','64.131.68.74', 'burblco_00', 'user_user, 'password');

and so on and so forth...

can you show me where i'm going wrong please?
many thanks

WordPress Questions?

We've got answers!

  • 350+ Premium Plugins & Themes
  • 'Your WordPress Team' support
  • WordPress Nirvana from just $19

Find out more »