The following error is displayed for an RDS for MySQL instance:
The MySQL server is running with the --read-only option so it cannot execute this statement
show variables like 'read_only';
If the original storage has reached the maximum, upgrade the specifications first.
To delete data of an entire table, run DROP or TRUNCATE. To delete part of table data, run DELETE and OPTIMIZE TABLE.