执行sql的时候发现出错 Table 'k_user' is read only 1、给mysql权限 chmod 777 mysql 2、执行一下命令 mysqladmin -uroot -p refresh