The database username and password that you put into wp-config.php, and which if in error, would throw the “Error establishing a database connection” message are different than the username and password you would use to login to the website.
Did you edit wp-config.php? You should be able to retrieve the correct credentials from your host.
Thread Starter
mcv427
(@mcv427)
I didn’t edit wp-config.php with ftp file manager. I edited user_pass according to the procedure below:
http://codex.ww.wp.xz.cn/Resetting_Your_Password#Through_phpMyAdmin
Ok, have you verified the details in wp-config are correct?
Thread Starter
mcv427
(@mcv427)
DB_USER in wp-config is same as user_login in phpMyAdmin for database.
DB_PASSWORD in wp-config is same as user_pass in phpMyAdmin for database.
Something else I need to look for?
The name of the database and the host.
Did anything else change? If all I did was reset my password and nothing else had changed and all my details were correct, my next step would be to open a ticket with my host.
Thread Starter
mcv427
(@mcv427)
I guess that’s the next step. I only changed username and password, but that was only because my old username and password wouldn’t open WordPress editing fro some other unknown reason.
In config file – the user/pass combination is for the database.
And you do not need to alter them for wordpress user registrations.
If you’re trying to create a new user to wordpress, then try repeating the steps in the codex link you posted above.
Thread Starter
mcv427
(@mcv427)
I’ve submitted a support ticket with GoDaddy. Now that I’ve lost track of what was original and what I’ve changed, who do I contact to get the WordPress username and password that’s on file to access the dashboard for this site?
Use the lost password functionality right below the login prompt.
Are you sure, that — the config file user/pass are correct?
If so, you can easily reset the password, using the Lost Password link, as Andrew said.