Using mysql.exe, I enter the command mysql> use mysql; but there is an error:
ERROR 1044 (42000): Access denied for user '' @ 'localhost' to database 'mysql'
- What does this mean?
- How so I can access a mysql database?
- The most important thing is that I want to reset password mysql database, but an error occurs when I enter the command:
mysql> use mysql;.
user ''@'localhost'implies you connected anonymously, which likely means unprivileged. If you want to modify themysqldatabase you must connect with a privileged user (and directly writing tomysql.useris probably not a good idea - better to useSET PASSWORDinstead dev.mysql.com/doc/refman/5.0/en/set-password.html)