mysql数据迁移的两中方案 1.导出sql文件 2.简单粗暴,关闭服务,直接复制mysql的data文件,此方法需要注意的地方: 原始data文件里的ib_logfile , 和 .err文件不要复制