Can 2 blogs use localhost?
-
Hi, I’ve had a wordpress blog running for a while with no problems.
Today I created a second blog in a different directory. It’s working now, but when I try to go the previous blog, I get the error:
Error establishing a database connection
Each blog has its own MySQL database. The settings for the first one are:
define(‘DB_NAME’, ‘cybergoo_wrdprs’); // The name of the database
define(‘DB_USER’, ‘cybergoo_gooch’); // Your MySQL username
define(‘DB_PASSWORD’, ‘xxx’); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this valueand the settings for the new one are:
define(‘DB_NAME’, ‘cybergoo_cyberblog’);
define(‘DB_USER’, ‘cybergoo_gooch’);
define(‘DB_PASSWORD’, ‘yyy’);
define(‘DB_HOST’, ‘localhost’);Am I creating a conflict by using localhost for both? Is there a specific path I should use for the host?
Thanks
- The topic ‘Can 2 blogs use localhost?’ is closed to new replies.