ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
出现以上问题的主要原因在于我们没有指定MySQL逻辑导出时指定的路径
# vim my.cnf
[mysqld]
...
secure_file_priv=/tmp/sqlbak/ <-(这里写导出路径,然后保存重启)
# service mysql_3306 restart