Error connecting to DB when configuring WordPress
-
Background
Personal: Just a long time PC user with some DB courses completed. This is my first time running my own server and database.
OS: MS Windows 7 (current updates)
SERVER (local): WAMP stack installed and running (i.e. able to access the phpMyAdmin page, add DBs and Users)
WordPress: recent version installed. DB and User created as per instructions on Codex.Wordpress.org (https://codex.wordpress.org/Installing_WordPress#Using_phpMyAdmin#Using_phpMyAdmin)
—-
When trying to configure WordPress via the page: http://localhost/wordpress/wp-admin/setup-config.php, after entering the requested information DB (db_wordpress), User (user_wordpress), Password, DB Host (tried both localhost or mysql wampserver), the following page states that there is an error in connecting to the DB.
I’ve also tried manually modifying the www/wamp/wordpress/wp-config-sample.php file (re-naming it wp-config.php with the same information provided above and then loading localhost/wordpress/, the result, an error message informing me that it can not connect to the database.
Any ideas?
Thanks everyone.
The topic ‘Error connecting to DB when configuring WordPress’ is closed to new replies.