解决Mysql无法使用root用户登录问题
文章地址https://www.yii666.com/learning/mysql/114.html网址:yii666.com文章来源地址:https://www.yii666.com/learning/mysql/114.html
最近 Vagrant+ Oracle VM VirtualBox 在本地环境配置 Linux开发环境, 发现通过宝塔面板安装Mysql 数据库 之后 用Navicat 远程连接 登录 root 登录不了。
解决办法如下 两行Mysql 的 Sql代码,
grant all on *.* to root@'%' identified by '123456789' with grant option; flush privileges;