MySql问题:只读(The MySQL server is running with the --read-only ......)

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

数据库服务器是linux, 新建了一个用户,给了它select,insert,update,delete权限,但是使用这个用户通过windows命令行访问数据库,只能查询,不能删除、更新及插入。
grant select,insert,update,delete on [db].* to [user]@ip

第1个回答  2014-10-24
set global read_only=off
第2个回答  2009-10-29
grant命令发上来一下
相似回答