最近要用个在线考试系统,想找个系统做参考,uexam就是其中一款。
在导入数据库的时候报错了
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(0) NULL DEFAULT NULL COMMENT '时段试卷 开始时间', `limit_end_time` d' at line 10
我看了下,uexam使用的mysql版本是50725,而我用的5.5.53。
解决这个问题很简单,只要把sql语句里面的datetime(0)改成datetime()就行了。