Sometimes, when you are not sure whether a MySQL server you connected to, is read-only or not and a write query is too risky, it is easy to find out the read-only option setting using the following query.
SELECT @@global.read_only;
No comments:
Post a Comment