国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 數據庫 > MySQL > 正文

mysqldump恢復備份出現的難題

2024-07-24 12:34:59
字體:
來源:轉載
供稿:網友
  今天使用MySQL workbench導入數據的時候出現了以下報錯:
 
  問題1:
  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
  問題2:
  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)

(編輯:武林網)

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 双鸭山市| 潜山县| 务川| 理塘县| 长治县| 商丘市| 鸡东县| 册亨县| 绩溪县| 灵宝市| 蕉岭县| 石楼县| 若尔盖县| 荃湾区| 南岸区| 利川市| 新昌县| 文成县| 汉中市| 上虞市| 五华县| 陆川县| 松桃| 林甸县| 宝丰县| 宝应县| 岳池县| 札达县| 高雄市| 太保市| 敦化市| 班玛县| 同仁县| 金沙县| 湖口县| 隆子县| 财经| 东乌珠穆沁旗| 贵德县| 麻栗坡县| 沧源|