初始化数据库
1.建立各个数据库,并设置编码集为utf-8mp4
2.使用已有的sql文件执行
文件地址在gitee
sql文件地址
中间用Navicat执行文件时出现错误
1055
查阅资料,在mysql的配置文件my.conf的mysqld中加入
sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'
问题解决