1 去除DEFINER子句:
检 查 SQL 文件,去除下面类似的子句。
DEFINER=`root`@`%`
2。在 Linux 平台下,可以尝试使用下面的语句去除。
sed -e 's/DEFINER[ ]*=[ ]*[^*]*\*/\*/ ' your.sql > your_revised.sql

3. 错这个错误 Storage engine MEMORY is disabled (Table creation is disallowed)

需要将 MEMORY 表类型转成InNodb