http://segmentfault.com/img/bVm9aZ请问这3条应该怎么改成mysql5.6的标准呢?菜鸟请大虾直接把正确答案写出来,非常感谢
另外请问这3条记录如果不插入新数据库的话, 可能会导致什么样的BUG呢?
Discuz! Multi-Volume Data Dump Vol.1
Version: Discuz! X3.2
Time: 2015-8-13 19:47
Type: discuz_uc
Table Prefix: pre_
Discuz! Home: http://www.discuz.com
Please visit our website for newest infomation about Discuz!
SET NAMES 'utf8'
【失败原因】:
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 '?>
主键不允许重复,数据id重复,肯定插不进数据库。
1.想要更新数据,就使用update语句。
2.想要插入新的数据但不冲突的话