can't connect to database
I am using WAMP – with an Apache server version 2.2.22 and associated MySQL and PHP. Running on Windows XP. When using FireFox to browse to “localhost/wordpress/wp-admin/install.php I get the following message –
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 localhost. This could mean your host’s database server is down.
The “index.php” in the localhost root directory executes correctly. Both “MySQL Workbench and My SQL Buddy connect properly as does SQL console. Of course there are no tables in it since “install” has not executed. wp-config.php is set exactly like MySQL Workbench is but browser access is no good. I tried it with FireFox, Chrome, IE* and Safari.
PHPmyAdmin no longer connects eithe, even though it did when I created the database.
Any help greatly appreciated. I have 8 hours invested already. I can’t include access since it is on a local computer server.
- The topic ‘can't connect to database’ is closed to new replies.