mysql怎么创建密码错误

来源:这里教程网 时间:2026-02-28 13:55:10 作者:

mysql创建密码错误的方法:

在设置

mysql> set password for root@localhost = password('admin');

时出现错误:

The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement

解决方法:

mysql> flush privileges; 刷新权限

再重新输入设置密码。

相关推荐