解决The MySQL server is running with the –skip-grant-tables option so it cannot execute this statement

set global read_only=0;
flush privileges;

参考资料:
http://www.cnblogs.com/xionghui/archive/2013/03/01/2939342.html