I have large database of 22GB
. I used to take backup with mysqldump
command in a gzip format.
When i extract the gz file it produces the
Way 1: Disable the foreign keys as fakedrake suggested.
SET AUTOCOMMIT = 0; SET FOREIGN_KEY_CHECKS=0
Way 2: Use BigDump, it will chunk your mysqldump file and then import that. http://www.ozerov.de/bigdump/usage/
Question: You said that you are uploading ? how you are importing your dump ? not directly from the server /command line?