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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.