stuartj
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Error establishing a database connection!Hi there,
New to WordPress so please bear with me 🙁
Have followed the excellent WordPress tutorial on MacZealot – http://maczealots.com/tutorials/wordpress – for installing WordPress locally on my Mac.
I’m fine until I try and start the WordPress installer, when I get the following:
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at The.Hub. This could mean your host’s database server is down.
* Are you sure you have the correct username and password?
* Are you sure that you have typed the correct hostname?
* Are you sure that the database server is running?I’m pretty sure I have ther right U&P (this is the wp_config file):
define(‘DB_NAME’, ‘wordpress’); // The name of the database
define(‘DB_USER’, ‘root’); // Your MySQL username
define(‘DB_PASSWORD’, ‘shaihulud’); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this valueMethinks its a mysql thing (of some flavour). Was patient and glad for the challenge for about 2 hours,. Am now hot, bored and extremely irritated!
Can anyone help?
Housekeeping: I installed mySQL version 4.0.24 onto a mac boo pro, and the PHP came natively
Thanks in advance for your help