MySQL5.6 取消严格模式的方法
1、设置启动参数,将默认sql_mode改为宽松模式 sed -i "s#\"\$\*\"#--sql-mode=\"NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\"#" /etc/my.cnf 2、...
1、设置启动参数,将默认sql_mode改为宽松模式 sed -i "s#\"\$\*\"#--sql-mode=\"NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\"#" /etc/my.cnf 2、...