Hello,
I’ve mucked about with WP 3 over the past 2 weeks and have sourced all fixes and upgrades from 2.9.2 to allow me to create a new WP 3.0.1 production environment.
I’d like to start from scratch with a whistle clean installation and without any unnecessary plug-ins I played around with earlier etc. etc.
I have cpanel VPS hosting.
1) I have installed WP 3.0.1 on a temporary db (mydb_temp) with user: (mydb_admin)
2) I’ve activated the network environment. ( wp-config, .htaccess, blogs.dir, mu-plugins )
3) I’ve created a test sub domain blog which works fine
4) I created 16 databases (mydb_0- -> mydb_f ) as below and added the admin to each manually using cpanel.
CREATE DATABASE mydb_0 DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
etc
etc
CREATE DATABASE mydb_f DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
5) I’ve downloaded the plugin.
I’ve not added any plugins, themes or anything beyond what I listed above.
I’d be grateful if you would take me through the remaining steps, step by step.
I believe the next step is to configure the “db-config.php”.
I can use the sample file as the basis.
What does the sample file need to look like if my IP is 123.456.78.9 and my databases settings are:
db: mydb_1 through mydb_f
user: mydb_admin
pass: abc123
location : localhost
Could you post the sample here?
I’m confused by:
<br />
//---DC IPs
//<br />
//
//<br />
// Usage: add_dc_ip(IP, DC)<br />
// EX: add_dc_ip('123.123.123.', 'dc1');<br />
add_dc_ip('123.123.123.', 'dc1');<br />
//
//<br />
//---Global Tables
//<br />
//
//<br />
// Do not include default global tables<br />
// Leave off base prefix (eg: wp_)<br />
//<br />
// Usage: add_global_table(TABLE_NAME)<br />
// EX: add_global_table('something');<br />
add_global_table('some_global_table');<br />
and
<br />
// Note: you can also place this section in a file called db-list.php in wp-content<br />
add_db_server('global', 'dc1', 1, 1,'64.120.23.72','192.168.0.101', 'wpmu_global', 'db_user_name', 'db_user_name_pass');</p>
<p>add_db_server('vip1', 'dc1', 1, 1,'64.120.23.72','192.168.0.101', 'wpmu_vip_1', 'db_user_name', 'db_user_name_pass');<br />
//
//<br />
//---VIP Blogs
//<br />
//
//<br />
// Usage: add_vip_blog(BLOG_ID, DS)<br />
// EX: add_vip_blog(1, 'vip1');</p>
<p>add_vip_blog(1, 'vip1');<br />
What comes next?
What do I do with my existing db which is: mydb_temp ?
Do I keep that?
Many thanks in advance,
Ralf