remote replication 썸네일형 리스트형 Mysql 데이터 원격 복제(replication) master 서버의 mysql 데이터를 slave 서버로 원격 복제하고 싶은 경우가 있는데, 이때 활용할 수 있음. 다만, 오랜기간 실험한 것이 아니라 다소 불안정할 수 있는 점 양해 바랍니다^^ 서버환경: CentOS7, mysql 5.7 [Master 서버 설정] 1. 설정 # vi /etc/my.cnf 에 아래 내용 추가 log-bin=mysql-bin server-id=1 FLUSH TABLES WITH READ LOCK; change master to master_host ='123.123.123.123', master_port =3306, master_user ='유저아이디', master_password ='패스워드', master_log_file ='mysql-bin.000002', mas.. 더보기 이전 1 다음