Jump to content

Compatibility issues when importing into diferent versions of MySQL


sfiuser

Recommended Posts

Hi,

 

I am a newbie to MySql and am trying to import a dump file from a server running MySql 4.1.21 into a server running MySql 4.0.24. I guess there seems to be some sort of compatibility issue between the two versions.

 

This is the error I get when I try to restore the dumpfile from the command line on the server running MySql 4.0.24:

 

ERROR 1064 at line 12: 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 'DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci' at line

 

I tried using mysqldump's --compatible=mysql40 option when you create the dump file but that generated the same error too.

 

If anyone could point me in the right direction I would be very grateful.

 

 

Thanks.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.