MySQL commands: Difference between revisions

Jump to navigation Jump to search
m
Line 172: Line 172:
Solution:
Solution:
* Check the permission of specified user name & database name
* Check the permission of specified user name & database name
<pre>
$ mysql -u USER -p --host=127.0.0.1
Enter password:
mysql> use DATABASE_NAME
</pre>


==== ERROR 1045 (28000): Access denied for user 'user'@'localhost' (using password: YES) ====
==== ERROR 1045 (28000): Access denied for user 'user'@'localhost' (using password: YES) ====

Navigation menu