• 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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The ‘wpadmin’ user have a password? Did you reload privs after editing user permissions?
    Can you connect to the db from a shell? #mysql -u wpadmin -p

    I am getting the same error – and I have no idea how to edit MySQL or pretty much anything else. I am a complete non-techie – please help! Oh! And I did read “all” the previous posts regarding this error and I still have no clue what to do about it. The following are the details available from the .php file:
    define(‘DB_NAME’, ‘asideblog’);
    define(‘DB_USER’, ‘naina_redhu’);
    define(‘DB_PASSWORD’, ‘*******’);
    define(‘DB_HOST’, ‘blog.aside.in’);

    I had changed my user name and password from the default sometime back but had been able to log onto the blog, just today I am not able to log on. I use DreamHost.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error establishing a database connection’ is closed to new replies.