解决方案:
sudo vi /etc/mysql/mysql.conf.d/mysqld.cnf
最后一行添加如下代码:
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
wq!保存退出
重启mysql
sudo /etc/init.d/mysql restart
ok!
解决方案:
sudo vi /etc/mysql/mysql.conf.d/mysqld.cnf
最后一行添加如下代码:
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
wq!保存退出
重启mysql
sudo /etc/init.d/mysql restart
ok!
本文标题:ubuntu下 报错 this is incompatible
本文链接:https://www.haomeiwen.com/subject/zjhskqtx.html
网友评论