MySQL在创建用户并设置密码时报错
错误描述:
mysql> grant all privileges on dblink.* to 'dblink'@'%' identified by '555555';
ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement*
解决方法:
先刷新一下权限表。
mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)
再执行创建操作,便可完成
mysql> grant all privileges on dblink.* to 'dblink'@'%' identified by '555555';
Query OK, 0 rows affected (0.00 sec)