I got mine to work when I changed
define(‘DB_HOST’, ‘localhost’);
to
define(‘DB_HOST’, ‘localhost:/tmp/mysql5.sock’);
I got the above string from the control panel from my web hosting service.
This resource looked helpfull too.
http://codex.wordpress.org/Editing_wp-config.php#Possible_DB_HOST_values
Thanks jeremyclark13 !
Having the same problem. Things I’ve tried that didn’t work include:
Using actual db server host name instead of ‘localhost’.
Changing db character set to utf8-general-ci