ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot exe

mysql> SET PASSWORD FOR root@localhost=PASSWORD('123456');
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.06 sec)

mysql> SET PASSWORD FOR root@localhost=PASSWORD('123456');

Query OK, 0 rows affected, 1 warning (0.01 sec)

就这么奇葩

你可能感兴趣的:(MySQL)