Use Navicat to authorize and
click on the upper left corner to create a new query:
use mysql;
select * from user where user='database name';
change the red line part to'Y', save and restart mysql, the password may be reported incorrectly, just change the password
1142 SELECT command denied to user'database'@'localhost' for table'table' (no authorization)
Guess you like
Origin blog.csdn.net/weixin_43018356/article/details/114264724
Ranking