#113: WordPress: "Error establishing a database connection"

On a Mac OS 10.5 system, I got the above error.

define('DB_HOST', 'localhost:/tmp/mysql.sock');

1
Use define('DB_HOST', 'localhost:/tmp/mysql.sock'); instead of the standard 'localhost' setting.

Think you've got a better solution? Help Thumb_cartoon_futurama_flexo_small hannes out by posting your solution