mySQL Restore (error 1062) problem
I've tried repairing and optimizing before making the backup, and always get an error on restore:
ERROR 1062 (23000) at line 377726: Duplicate Entry 'sertXXrner' for key 2
where the XX in the middle of 'sertXXner' represents some sort of ASCII character.
I'm restoring a v4.0.23 database to a v4.1.11 server.
Any ideas?
# mysqldump -u root -p [database] > [filename.sql]
This was the least of my problems, I was upgrading to v4.1.11 and had MANY other problems (all of which are resolved now) but had this one solved by emptying my search indexes before backup and then recreating them on restore.
http://dev.mysql.com/doc/mysql/en/upgrading-from-4-0.html
Incompatible change: There are conditions under which you should rebuild tables. In general, to rebuild a table, dump it with mysqldump and reload the dump file. Some items in the following list indicate alternatives means for rebuilding.
any ideas on what i should do?
Same duplicate key problem, same solution.
#If you have any other info about this subject , Please add it free.# |