Installing WordPress on Leopard: Error establishing a database connection

Monday, February 23, 2009

What a ridiculously stupid error.

http://wordpress.org/support/topic/160658

Your wp-config.php file should read:
define('DB_HOST', 'Localhost');
‘Localhost’ not ‘localhost’.

  • Krishna

    WOW!!!

    Thanks so much for this post!! I’m new to WordPress and first installed it on 10.6 with no problems to test, and then wanted to port it to my iBook (which can’t run 10.5 of course). Was getting the database error, but thanks to you it’s all taken care of! :)