SQLyog导入大数据包时报错!!!

错误内容如下:

Error occured at:2020-02-23 23:56:59
Line no.:143
Error Code: 2006 - MySQL server has gone away
Error occured at:2020-02-24 00:00:56
Line no.:678
Error Code: 1418 - This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)

第一个错误执行:
SET wait_timeout=200000;
SET interactive_timeout = 200000;
SET GLOBAL max_allowed_packet = 102410241024*10;
分别指等待超时时间,交互超时时间,允许最大导入数据包
第二个错误执行:
SET GLOBAL log_bin_trust_function_creators=1;
表示log_bin创建function

你可能感兴趣的:(SQLyog导入大数据包时报错!!!)