navicat连接mysql数据库显示不全时解决方法

第一步
查看用户在mysql中的权限 例如用户名为“root”,账号密码为“123456”

SELECT host, user from user where user=‘root’
SHOW GRANTS for root@‘localhost’
第二步,上述sql如果正常显示执行下列sql
GRANT all PRIVILEGES ON * .* to ‘root’@’%’ IDENTIFIED by ‘123456’ with grant OPTION (注 :※点※千万别写错,此句复制后重新自己敲,否者执行错误)

猜你喜欢

转载自blog.csdn.net/qq_34117294/article/details/106661230