Error establishing a database connection
-
Yes, I know this is a common problem but I really am stuck. On step 5 of the wordpress install I am getting: Error establishing a database connection
My wp-config.php currently reads:/** The name of the database for WordPress */
define(‘DB_NAME’, ‘name_correctinfo’);/** MySQL database username */
define(‘DB_USER’, ‘name_correctinfo’);/** MySQL database password */
define(‘DB_PASSWORD’, ‘correctpassword’);/** MySQL hostname */
define(‘DB_HOST’, ‘localhost);I am using Cpanel and YES I have confirmed that all info matches and is typed correctly. YES I have added the correct user to the correct database and YES I have confirmed that my host uses ‘localhost’ as the Mysql name.
The four basic infos of dbname/username/password and hostname are all matching, correct and properly assigned. I have deleted and recreated both user and database several times (as has been suggested) with the same information, but no effect.
So it really is something else this time!Other details: I already have another wordpress running on the same host (yes, I know wordpress is multisite as standard now but I couldn’t get a network running for other reasons) so this is a second concurrent installation. The live installation is in my root directory, but this one second one is in a subfolder which is named something other than ‘wordpress’ (that shouldn’t matter?) I uploaded it there via ftp.
Any (new) ideas?
Thanks.
- The topic ‘Error establishing a database connection’ is closed to new replies.