wp-config.php for domain.tld
<?php
define('DB_NAME', 'wordpress');
define('DB_USER', 'wordpress');
define('DB_PASSWORD', 'SomePassword');
define('DB_HOST', 'localhost');
$table_prefix = 'domain_tld_';
$server = DB_HOST;
$loginsql = DB_USER;
$passsql = DB_PASSWORD;
$base = DB_NAME;
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
define ('WPLANG', '');
define('ABSPATH', dirname(__FILE__).'/');
require_once(ABSPATH.'wp-settings.php');
?>
wp-config.php for domain2.tld
<?php
define('DB_NAME', 'wordpress');
define('DB_USER', 'wordpress');
define('DB_PASSWORD', 'SomePassword');
define('DB_HOST', 'localhost');
$table_prefix = 'domain2_tld_';
$server = DB_HOST;
$loginsql = DB_USER;
$passsql = DB_PASSWORD;
$base = DB_NAME;
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
define ('WPLANG', '');
define('ABSPATH', dirname(__FILE__).'/');
require_once(ABSPATH.'wp-settings.php');
?>
These config files worked fine with 2.3.3. The domain2_tld_ prefixed tables are not being created in the database. It seems the is_blog_installed function in wp-includes/functions.php is involved in this.
Do these config files look ok?