How do I set MySQL temporarily to read-only through the command line? How do I set MySQL temporarily to read-only through the command line? mysql mysql