Summary of problems importing MYSQL high version to low version

MySQL is backward compatible by default. Therefore, no error will be reported when importing SQL files from a lower version database into a higher version database, but not the other way around.

When importing SQL files from a higher version database to a lower version database, an error will be reported, prompting
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 'USING BTREE…
 

Then select the SQL format and version corresponding to the target database. My other computer is installed with 5.5. My current computer is 5.7, so I choose 5.5.

 

It is recommended to only select the table. If not, you can also select the table you want to export.

 

 Just start

After clicking on the table, there is a sql file to run. Just click on it.

Remember to continue turning it off when you encounter an error.

 

If the log does not report an error at this point, the import is successful. Today is another busy day. 

Guess you like

Origin blog.csdn.net/yzs2022/article/details/127513643