网站介绍:文章浏览阅读549次。Linux下默认安装了mysql,默认root用户密码为空。于是设置了root用户的密码,使用了错误的命令如下:mysql> update user set password=123456 where user="root";(正确为mysql> update user set password=‘123456’ where user=‘root’; //注意单引号..._update user set password=password("123456") where user='root';
- 链接地址:https://blog.csdn.net/Tang_shui/article/details/83274994
- 链接标题:mysql重置 root 用户密码。_update user set password=password("123456") where -CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:8311
- 网站标签:update user set password=password("123456") where user='root';