How to resolve MySQL ERROR 1290 running with read-only option

 How to resolve MySQL ERROR 1290 running with read-only option

When you run a MySQL data manipulation query — INSERT, UPDATE, or DELETE — you may encounter an error saying that the statement can’t be executed because of the read-only option.




mysql> SET GLOBAL super_read_only=0;

Query OK, 0 rows affected (0.00 sec)


mysql> SET GLOBAL read_only=0;

Query OK, 0 rows affected (0.00 sec)


mysql> create database PITR;

Query OK, 1 row affected (0.11 sec)





 
Now finally we are able to read/write operation.




Comments

Popular posts from this blog

MySQL Replication Switchover: Step-by-Step Guide

How To Install and Configure Innodb Cluster /shell/Router

How to create database manually in oracle 11g R2