Local Install Database Connection Problem
-
I am doing a first time LOCAL install on my laptop for development purposes and have done the “famous 5 min install”
However when I try and run install.php I get the following error
“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 DB_HOST. This could mean your host’s database server is down”.
I am runnign WAMP and my config file looks like this….
‘/** The name of the database for WordPress */
define(‘oldbellwpres’, ‘putyourdbnamehere’);/** MySQL database username */
define(‘root’, ‘usernamehere’);/** MySQL database password */
define(”, ‘yourpasswordhere’);/** MySQL hostname */
define(‘localhost’, ‘localhost’);/** Database Charset to use in creating database tables. */
define(‘DB_CHARSET’, ‘utf8’);/** The Database Collate type. Don’t change this if in doubt. */
define(‘DB_COLLATE’, ”);
‘I can see the database oldbellwpres in mysql and have tried localhost:8889 as the connection
I have never set a password on the databse – so assume its null – but can’t find where to change that to something else?
Any ideas? specifically
1 – how do I know the database servier is running
2 – how do I chenge the passoerd on the database
3 – the magic words to make it work!!Cheers
Sheperdydodah
The topic ‘Local Install Database Connection Problem’ is closed to new replies.