Problem installing multi-DB

Hi everybody

We have been installing the multidatabase on a clean install of wpmu with buddypress. Unfortunately during the insallation I found a problem that I have not been able to fix by reading on forums. Now I need the help of experts.

The error I am getting goes like this:

No WPMU site defined on this host. If you are the owner of this site, please check Debugging WPMU for further assistance.

So this is what I have done so far:

Installed WPMU – OK

Installed Buddypress – OK

Created databases using the scripts for MultiDB – OK

Moved blogs using wp-content/scripts/move-blogs.php – OK

Modifying db-config.php – OK

?

However… when I go into the home page, i get the error mentioned before.

This is the db-config.php file I currently have:

<?php

// Plugin Name: Multi-DB

// Plugin URI: https://premium.wpmudev.org/project/Multiple-Databases

// Author: Andrew Billits (Incsub)

// Version: 2.8.5

//


//

//—DB Scaling


//

//


//

// 16,256,4096

define (‘DB_SCALING’, ’16’:wink:;

//


//

//—DC IPs


//

//


//

// Usage: add_dc_ip(IP, DC)

// EX: add_dc_ip(‘123.123.123.’, ‘dc1’:wink:;

add_dc_ip(‘xx.xxx.xxx.’, ‘dc1’:wink:;

//


//

//—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’:wink:;

//add_global_table(‘xxxx_wpmu_global’:wink:;

add_global_table(’blogs’);

//


//

//—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)

//Note: you can also place this section in a file called db-list.php in wp-content

add_db_server(‘global’, ‘dc1′, 1, 1,’**.***.***.***’, ‘localhost’ , ‘wpmu_global’, ‘*********’, ‘*********’:wink:;

add_db_server(‘0’, ‘dc1′, 1, 1,’**.***.***.***’,’localhost’, ‘wpmu_0’, ‘*********’, ‘*********’:wink:;

add_db_server(‘1’, ‘dc1′, 1, 1,’**.***.***.***’,’localhost’ , ‘wpmu_1’, ‘*********’, ‘*********’:wink:;

add_db_server(‘2’, ‘dc1′, 1, 1,’**.***.***.***’,’localhost’ , ‘wpmu_2’, ‘*********’, ‘*********’:wink:;

add_db_server(‘3’, ‘dc1′, 1, 1,’**.***.***.***’,’localhost’ , ‘wpmu_3’, ‘*********’, ‘*********’:wink:;

add_db_server(‘4’, ‘dc1′, 1, 1,’**.***.***.***’,’localhost’ , ‘wpmu_4’, ‘*********’, ‘*********’:wink:;

add_db_server(‘5’, ‘dc1′, 1, 1,’**.***.***.***’,’localhost’ , ‘wpmu_5’, ‘*********’, ‘*********’:wink:;

add_db_server(‘6’, ‘dc1′, 1, 1,’**.***.***.***’,’localhost’, ‘wpmu_6’, ‘*********’, ‘*********’:wink:;

add_db_server(‘7’, ‘dc1′, 1, 1,’**.***.***.***’,’localhost’ , ‘wpmu_7’, ‘*********’, ‘*********’:wink:;

add_db_server(‘8’, ‘dc1′, 1, 1,’**.***.***.***’,’localhost’ , ‘wpmu_8’, ‘*********’, ‘*********’:wink:;

add_db_server(‘9’, ‘dc1′, 1, 1,’**.***.***.***’,’localhost’ , ‘wpmu_9’, ‘*********’, ‘*********’:wink:;

add_db_server(‘a’, ‘dc1′, 1, 1,’**.***.***.***’,’localhost’ , ‘wpmu_a’, ‘*********’, ‘*********’:wink:;

add_db_server(‘b’, ‘dc1′, 1, 1,’**.***.***.***’,’localhost’ , ‘wpmu_b’, ‘*********’, ‘*********’:wink:;

add_db_server(‘c’, ‘dc1′, 1, 1,’**.***.***.***’,’localhost’ , ‘wpmu_c’, ‘*********’, ‘*********’:wink:;

add_db_server(‘d’, ‘dc1′, 1, 1,’**.***.***.***’,’localhost’ , ‘wpmu_d’, ‘*********’, ‘*********’:wink:;

add_db_server(‘e’, ‘dc1′, 1, 1,’**.***.***.***’,’localhost’ , ‘wpmu_e’, ‘*********’, ‘*********’:wink:;

add_db_server(‘f’, ‘dc1′, 1, 1,’**.***.***.***’,’localhost’ , ‘wpmu_f’, ‘*********’, ‘*********’:wink:;

add_db_server(‘vip1’, ‘dc1′, 1, 1,’**.***.***.***’,’localhost’, ‘wpmu_vip_1’, ‘*********’,’*********’:wink:;

//


//

//—VIP Blogs


//

//


//

// Usage: add_vip_blog(BLOG_ID, DS)

// EX: add_vip_blog(1, ‘vip1’:wink:;

add_vip_blog(1, ‘vip1’:wink:;

?>

“Help me, Obi-Wan Kenobi; you’re my only hope.”