MariaDB 10.4 이상 Replication 방법
[Replication] ==> MariaDB 10.4 이상버전용 (1호기)1. my.cnf 수정vim /etc/my.cnf.d/server.cnf(수정내역)server_id=1log-basename=master1log_bin 2. 서비스 재기동systemctl restart mysql 3. repl 사용자추가 및 권한부여use mysqlcreate user ‘repl’@’%’ identified by ‘gateone12!@’;grant replication slave on *.* to repl;(확인)show variables like ‘server_id’; 4. Replication 적용change master to master_host=’10.10.10.61′, master_user=’repl’, master_password=’gateone12!@’, master_port=3306, master_log_file=’master1-bin.xxxxx’, master_log_pos=xxxx, master_connect_retry=10;==>log_file 및 log_pos 는 slave 서버에서 “show master status;” 로 […]
MariaDB 10.4 이상 Replication 방법 더 읽기"