Error establishing a database connection
-
Hi,
I’ve seen this error pop up a number of times on the forums however none of the proposed solutions have helped, so here I am….
I am running Mac OSX 10.6.2 with fresh installs (not upgrades) of:
– MySQL 5.1.42 (via socket)
– PHP 5.3.0
– WordPress 2.9PHP is confirmed as working as is MySQL and can connect to the DB through test PHP scripts using the details in the wp-config.php file. However when I attempt to install WordPress I am consistently presented with “Error establishing a database connection”.
One interesting point is that in connecting to the DB through test scripts, it was only possible when specifying the host as “127.0.0.1:3306”. “localhost” and “localhost:3306” would not work.
I’ve installed a number of WP systems on macs over the last couple of years, although never with this level of complication.
Any suggestions appreciated
The topic ‘Error establishing a database connection’ is closed to new replies.