ERROR 1045 (28000): Access denied for user ‘root’@’localhost

Asked By 0 points N/A Posted on -
qa-featured

I take this error: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) when I type SQL restart in Ubuntu terminal. I give MySQL -u root -p, it asks for the password and I can't login to MySQL database. I have the correct password. I tried dkpg to reset it but still doesn't work. Any suggestions?

SHARE
Answered By 0 points N/A #102984

ERROR 1045 (28000): Access denied for user ‘root’@’localhost

qa-featured

 

Hi,
 
The error is looking like your SQL is not working properly. So there are some options you have to do these:
 
1. Go to the admin and check whether your SQL is working properly or not. If yes then check out l your local host severs is working or not. 
The good choice to get rid of this problem is that uninstall the local host and then again install the whole server and it will working properly because the problem you are showing above looks like that there is something which missed from the server so for the better choice you should install the things again.

Login/Register to Answer

Related Questions