mysql 授权命令操作

在mysql5.7以下的版本如下: UPDATE user SET Password=PASSWORD('newpassword') where USER='root' and host='127.0.0.1' or host='localhost'; //把空的用户密码都修改成非空的密码就行了。 在mysql5.7版本如下: UPDATE mysql.user set authenticatio
相关文章
相关标签/搜索