Navicat pernium连接上Mysql后只能看到information_schema数据库的解决方法
Navicat pernium连接上Mysql后只能看到information_schema数据库是因为mysql的root用户的没有权限。
使用命令show grants for root;
可以显示root用户的权限。
如上图显示,则表明root用户根本没有权限。
使用命令GRANT ALL PRIVILEGES ON *.* TO root;
让root用户获得所有权限,再打开Navicat后就可以看见所有的数据库。![
在这里插入图片描述 ](https://img-blog.****img.cn/20200617011051382.png