Error establishing a database connection
-
I get this “Error establishing a database connection” when trying to install.
I have looked through a lot of the previous posts on this subject but I’ve found nothing that solves my problem.
This is a Linux server (in-house) with MySQL: 3.23.58 and PHP: 4.3.8.Here is how my wp-config.php is configured:
define(‘DB_NAME’, ‘wordpress’);
define(‘DB_USER’, ‘wpadmin’);
define(‘DB_PASSWORD’, ‘*****’);
define(‘DB_HOST’, ‘localhost’);I added the MySQL error at the bottom so that I could see what issue is. Here is what it says on the page:
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 localhost. 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?
If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.Access denied for user: ‘wpadmin@localhost’ (Using password: YES)
I have also tried making the ‘wpadmin’ a user with all access to all databases, except granting access to other users, and it still doesn’t work
Any suggestions?
- The topic ‘Error establishing a database connection’ is closed to new replies.