Jump to content

Access denied for user


kaedus

Recommended Posts

I was attempting to allow remote connections to a MySQL database by following this guide here:

http://www.cyberciti.biz/tips/how-do-i-enable-remote-access-to-mysql-database-server.html

 

In the process of following step #5 I seem to have removed access to the database from myself? Now the website is broke and I'm at a loss on how to get my access back. Any help would be greatly appreciated. Any ideas at all.

 

I am getting the error as follows:

Warning: mysql_connect(): Access denied for user 'cboweb@localhost' (using password: YES in /opt/oasis/php/dbconnect.php on line 18 Could Not Connect: Access denied for user 'cboweb'@'localhost' (using password: YES)

 

I have tried the root login and the other login. I can't even get through on phpMyAdmin now either. I don't know how to reverse the changes that I made and I can't connect. This has completely hosed my work site. I'm kind of freaking out. If anyone can give some help it would be greatly appreciated.

Link to comment
https://forums.phpfreaks.com/topic/205506-access-denied-for-user/
Share on other sites

Actually after following this guide:

www. cyberciti. biz/tips/recover-mysql-root-password.html

 

I was able to get into phpMyAdmin without a password and I had somehow changed the root account to not be accessible by localhost. After changing that back I was once again able to log in. So, the password was correct.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.