只需要改一个地方,一劳永逸 在mysql.ini 里搜索[mysqld] 直接在下边加一句话: log-bin-trust-function-creators=1 然后,重启mysql服务。再导入即可。