今天在source mysqldump 备份文件时,发现导入的过程中报如下的错误: ERROR 1231 (42000): Variable 'time_zone' can't be set to the value of 'NULL' ERROR 1231 (42000): Variable 'sql_mode' can't be set to the value of 'NULL' ERROR 1231 (42000): Variable 'foreign_key_checks' can't…
用notepad++编写好一个.sql脚本文件: drop database if exists library; create database library default character set utf8; use library; create table user( id ) not null auto_increment, name ) default null, password ) default null, primary key (id) )engine=innodb…