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 Point in Time Recovery: How To Configure And How Does it Work?

MySQL Replication Switchover: Step-by-Step Guide

Mysql Commercial Mysqlbackup:How to take Differential or Incremental Backup and resotre using mysqlbackup utility in mysql 8.0.37 enterprise edition