title: Best practices for temporarily enabling and disabling a MySQL user account?
body: <p>I have a MySQL user account that is used (only) as part of the deployment process to make changes to the database (add/drop tables and columns, etc).  Because this user account has these high privileges, I want to keep it disabled most of the time, and only enable it when we are actually doing a deployment that involves database changes.  What would be the best way to do this?  Something in a couple stored procedures (proc_enable, proc_disable or similar) would be perfectly fine but I couldn't seem to find any best practices around this and MySQL doesn't seem to have an easy enable/disable toggle.</p>