在设置
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; 刷新权限
再重新输入设置密码
在设置
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; 刷新权限
再重新输入设置密码