扫二维码与项目经理沟通
我们在微信上24小时期待你的声音
解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流
查找资料后解决:
参考链接:http://blog.csdn.net/cug_jiang126com/article/details/49945643 http://blog.csdn.net/topasstem8/article/details/8216740/
16:09:51 Restoring D:\Files\Documents\dumps\测试.sql
Running: mysql.exe --defaults-file="c:\users\xwjr\appdata\local\temp\tmp1acjjn.cnf" --protocol=tcp --host=127.0.0.1 --user=root --port=3306 --default-character-set=utf8 --comments --database=xwjr_server < "D:\\Files\\Documents\\dumps\\测试.sql"
ERROR 1840 (HY000) at line 26: @@GLOBAL.GTID_PURGED can only be set when @@GLOBAL.GTID_EXECUTED is empty.
Operation failed with exitcode 1
16:09:52 Import of D:\Files\Documents\dumps\测试xwjr_server.sql has finished with 1 errors
解决办法:
reset master
16:09:23 Restoring D:\Files\Documents\dumps\测试.sql
Running: mysql.exe --defaults-file="c:\users\xwjr\appdata\local\temp\tmpenrr12.cnf" --protocol=tcp --host=127.0.0.1 --user=root --port=3306 --default-character-set=utf8 --comments --database=xwjr_server < "D:\\Files\\Documents\\dumps\\测试.sql"
ERROR 1418 (HY000) at line 2395: 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)
Operation failed with exitcode 1
16:09:40 Import of D:\Files\Documents\dumps\测试.sql has finished with 1 errors
mysql> set global log_bin_trust_function_creators=TRUE;
Query OK, 0 rows affected (0.00 sec)
另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
我们在微信上24小时期待你的声音
解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流