1、将mysql5里导出的sql文件导入到mysql5中。 2、用mysqldump -uroot -p1234 –opt –compatible=mysql40 -A -re:\localhost.sql –compatible=name参数描述如下: –compatible=name Change the dump to be compatible with a given mode. By default tables are dumped in a format optimized fo