• I am configuring WP on my home OSX machine to use for testing and backup.

    I configured php/apache/mysql all test ok. I am using mysql 4.1.x

    I can log onto mysql from the command line using the name and password I gave myself. I can also load the db.

    When I try to do this from wp-config.php I get ‘Error establishing a database connection’.

    I have verified the name and password from the command line. I can access mysql from the command line.

    I am using localhost as the DB_HOST

    What else can I check?

    Is there a way to find out which of these items ( db, user, password, host ) is failing?

Viewing 1 replies (of 1 total)
  • You may be that one percent out there who has to use the actual domain name as the database host instead of localhost.

Viewing 1 replies (of 1 total)
  • The topic ‘unable to connect to server’ is closed to new replies.