I have a domain that already has a WordPress blog installation in a directory.
I am changing the site to wordpress and I would like to keep the old blog as it is.
I opened a new MySql database and edited the wp-config.php file accordingly.
This is the message that displays when I go to run install.php
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at MYSQLHOST. This could mean your host’s database server is down.
* Are you sure you have the correct username and password?
* Are you sure that you have typed the correct hostname?
* Are you sure that the database server is running?
I checked a few times to make sure that the database name, username and password are correct. They are.
I created a new database for this blog, but maybe having it on the same domain as another blog is causing an error?
from wp-config.php –
// You can have multiple installations in one database if you give each a unique prefix
$table_prefix = ‘wp_’; // Only numbers, letters, and underscores please!
Do I need to give it a table prefix?
I thought that making a new database & new user would clear all that up…
yet still there is an error establishing a database connection
- The topic ‘Database error on install’ is closed to new replies.