ERROR 1290 (HY000): The MySQL server is running with&nbs

 (2014-02-24 21:46:19)
  分类: 其它

Mysql操作主从数据库,在主数据库中使用添加授权用户命令:

    grant all on *.*to username@用于登录主服务器的从服务器ip identified by "password";

报错:

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

 

解决方法:

在命令行输入flush privileges即可

即:mysql> flush privileges;

相关文章:

  • 2021-09-26
  • 2021-10-25
  • 2021-09-22
  • 2021-11-06
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-15
  • 2022-12-23
  • 2021-08-10
  • 2021-09-03
  • 2021-09-18
  • 2022-12-23
相关资源
相似解决方案