[Mail] mysql出错了

weixin_38063173 weixin_38063173 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区

我原本想修改root的密码,我用phpmyadmin修改了mysql数据库中的user表的两个root的password项,phpmyadmin就出现以下错误,左边只剩下一个test数据库了,phpmyadmin无法再管理数据库了,如何解决?

The $cfg['PmaAbsoluteUri'] directive MUST be set in your configuration file!

Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole.

我用mysql -u root -p能进去,但是什么数据库都use不了   
我用这个方法:
[root@localhost root]# mysql -uroot -p // 登录mysql,密码不为空

mysql>; set password for root=password('123456'); // 注意:最后要加一个分号

出错如下:
Error 1133:can't find any matching row in the user table
...全文

相关推荐

评论 1
收藏 已收藏
分享
返回顶部