备份的时候用MYSQL4.0,可是搬到新空间的时候,出现如下情况:
请问高手想换空间,可是听说MYSQL5.0的空间搬到MYSQL4.0的空间会有错误的
备份的时候用MYSQL4.0,可是搬到新空间的时候,出现如下情况:
Discuz! info: MySQL Query Error
Time: 2006-11-2 3:01pm
Script: /register.php
SQL: INSERT INTO cdb_members (username, password, secques, gender, adminid, groupid, regip, regdate, lastvisit, lastactivity, posts, credits, extcredits1, extcredits2, extcredits3, extcredits4, extcredits5, extcredits6, extcredits7, extcredits8, email, bday, sigstatus, tpp, ppp, styleid, dateformat, timeformat, pmsound, showemail, newsletter, invisible, timeoffset)
VALUES ('产业界', '202cb962ac59075b964b07152d234b70', '', '0', '0', '10', '222.217.206.73', '1162450910', '1162450910', '1162450910', '0', 0,0,0,0,0,0,0,0,0, 'djf@sohu.com', '', '0', '0', '0', '', '', '0', '1', '', '1', '0', '9999')
Error: Duplicate entry '0' for key 1
Errno.: 1062
一高手说在可以看到解决方法,:https://discuz.dismall.com/viewthread ... eid%3D17&page=1
不同MYSQL版本数据导入问题解决办法
当中说到
在这些文件里面找到“ GINE = MYISAM DEFAULT CHARSET=latin1”这样的语句改为“TYPE=MYISAM”
但本只找到“ENGINE=MyISAM DEFAULT CHARSET=gbk AUTO_INCREMENT”,没有找到“ GINE = MYISAM DEFAULT CHARSET=latin1”这样的语句
该如何办??、、、
高手指教!!!! |