mysql 導入數據異常 Variable 'sql_mode' can't be set to the value of 'NULL'

從sql文件導入數據,發生如下異常:html

(42000): Variable 'sql_mode' can't be set to the value of 'NULL'mysql

。。。sql

得知是msyql配置問題,修改配置my.cnfbash

[mysqld]
max_allowed_packet = 500M

[mysqldump]
quick
max_allowed_packet = 500M

重啓msyql,再次導入數據成功;post

原文連接ui

相關文章
相關標籤/搜索