日期:2014-05-16  浏览次数:21000 次

mysql 修改 read only 1290
mysql 数据修改出现错误:1290 the mysql server is running with the read-only option

可明明设置权限,对数据库可以操作呀,,网上查了一下:

修改mysql readonly 为false就行了,
具体做法如下:

show variables like '%read_only%';


如果查出来是 on
set GLOBAL read_only = false;
off都行
如果本身就是off 我也不知道了,,
看看下面这篇估计对你有帮助。

http://www.manycodes.com/2009/08/18/linux/enable-read-only-mode-on-a-mysql-server/http://www.manycodes.com/2009/08/18/linux/enable-read-only-mode-on-a-mysql-server/