ERROR 1840 (HY000) at line 24: @@GLOBAL.GTID_PURGED can only be set when @@GLOBAL.GTID_EXECUTED is empty.


mysql 導入數據出現問題

[root@mar data]# mysql -uroot -p'1' --socket=/tmp/mysql3306.sock   </data/all.sql
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1840 (HY000) at line 24: @@GLOBAL.GTID_PURGED can only be set when @@GLOBAL.GTID_EXECUTED is empty.

解決方法

reset master;

問題解決

[root@mar data]# mysql -uroot -p'1' --socket=/tmp/mysql3306.sock   </data/all.sql
mysql: [Warning] Using a password on the command line interface can be insecure.

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM