解决Mysql无法使用root用户登录问题
文章来源地址https://www.toymoban.com/article/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;
文章来源:https://www.toymoban.com/article/114.html
到此这篇关于如何解决Mysql无法使用root用户登录问题的文章就介绍到这了,更多相关内容可以在右上角搜索或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!