Apr 22
Mysql ERROR 1045 (28000):
If you encounter this mysql error
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Don’t worry. This just means that you can’t connect to mysql without telling it your user name and password. If you haven’t set a password then you should type something like this.
mysql -u root
However if you do have a password the syntax will look something like this.
mysql -u root -p <yourpasswd>
ENTER PASSWORD:
Now you should have access to mysql and you can start giving it commands
 I hope this has helped.

No Comments
Leave a comment