ERROR 1794 (HY000): Slave is not configured or fai

mysql 5.7在從庫中止複製進程時出現錯誤,緣由是將複製信息記錄表中了。mysql


錯誤提示:sql

ERROR 1794 (HY000): Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log.數據庫


解決方法:ide

use mysql
drop table slave_master_info;
drop table slave_relay_log_info;
drop table slave_worker_info;
drop table innodb_index_stats;
drop table innodb_table_stats;
spa

source /usr/coolpad/mysql/share/mysql_system_tables.sqlserver

從新啓動數據庫進程

相關文章
相關標籤/搜索