• I’ve read several posts here in an attempt to figure out on my own why I’m having trouble installing WP. Sorry for sounding like a broken record, but I just can’t figure out why this isn’t working.

    The error message I’m getting is the usual “Error establishing a database connection!” etc.

    Here’s what my wp-config.php shows:

    define(‘DB_NAME’, ‘galen5_wordpress’); // The name of the database
    define(‘DB_USER’, ‘galen5_blogger’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘<snip>’); // …and password
    define(‘DB_HOST’, ‘familywebwatch.com’); // 99% chance you won’t need to change this value

    I’ve created a database, created and added a user, made sure the user has all the privileges available, tried changing the host name from “localhost” to “familywebwtach.com” and “familywebwatch” and “www.familywebwatch.com”….and still getting the same error.

    I even tried asking my host if there’s anything wrong with my account that would make my database service (mysql) not function properly. They weren’t very helpful, and sent me on to someone who would do a more thorough search. But I want it NOW! ??

    Any help is very much appreciated.

Viewing 16 replies (of 16 total)
  • If you’re using PHP 4.3.9 and MySQL client/server 4.1 you may actually get the following error while connecting during installation.

    Error w/ php: mysql_connect(): Client does not support authentication protocol

    You can verify this problem by editing wp-includes/wp-db.php. Look under function wpdb. Change the last line in the ‘die’ statement to
    </div>” . mysql_error());
    i.e adding mysql_error() so you actually see the MYSQL error.

    If you get the above MYSQL error then you can fix this by doing logging into mysql and do the following:

    SET PASSWORD FOR ‘user’@’localhost’ = OLD_PASSWORD(‘password’);

    Also checkout: https://forums.mysql.com/read.php?11,6400,6701#msg-6701

    This fixes the “Error establishing a database connection” problem for me.

Viewing 16 replies (of 16 total)
  • The topic ‘Installation problem’ is closed to new replies.