MariaDB用法——主從複製高可用

主從 在主節點實現 vim /etc/my.cnf server_id=1 log_bin innodb_file_per_table   重啓服務後生成新的二進制日誌,舊的可以刪掉 systemctl restart mariadb   添加從服務器同步用戶 mysql>grant replication slave on *.* to 用戶名@'IP或網段' identified by '密碼
相關文章
相關標籤/搜索