database error
-
New install. Converting from Greymatter.
I created a MySQL database on the Linux/Apache web server. Couldn’t get wp-admin/install-config.php to work. Kept getting permission errors. Made a wp-config.php manually. Now wp-admin/install.php says this:
Error establishing a database connection! This probably means that the connection information in youn wp-config.php file is incorrect. Double check it and try again.
* Are you sure you have the correct user/password?
* Are you sure that you have typed the correct hostname?
* Are you sure that the database server is running?
To which I reply: yes, no, yes.
My wp-config.php.
// ** MySQL settings ** //
define(‘DB_NAME’, ‘weblog1’); // The name of the database
define(‘DB_USER’, ‘awhdb’); // Your MySQL username
define(‘DB_PASSWORD’, ‘*****************’); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
Nowhere have I typed in the correct hostname. The error message says to make sure to do this. I have not. The instructions don’t say anything about a hostname. Where would I type in the hostname? As for permissions, I have not changed anything.
TIA for all help.
- The topic ‘database error’ is closed to new replies.