Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- php
- 워드프레스한글팩
- 특정 패키지 업데이트 중지 / 해제
- ssmtp
- 뒤로 가기
- set foreign_key
- no key alg
- 훼인
- 태권브이
- mongodb
- node.js
- rsync
- openfire
- strtotime
- php-fpm
- 앞으로 가기
- xcache
- 외래키
- node 이미지 저장
- security.limit_extensions
- quota
- 태권v
- MySQL
- 쁘띠프랑스
- 리플리케이션 오류
- simplexml_load_filesimplexml
- 중독 게임
- 날짜계산
- 이미지주소추출
- 재귀쿼리
Archives
- Today
- Total
일상 기록 창고
Slave SQL: If a crash happens this configuration does not guarantee that the relay log info will be consis 본문
프로그래밍/mysql
Slave SQL: If a crash happens this configuration does not guarantee that the relay log info will be consis
Crazy_Kong 2019. 5. 29. 09:19Mysql replication slave [Warning] Slave SQL: If a crash happens this configuration does not guarantee that the relay log info will be consistent, Error_code: 0
슬레이브 디비에 릴레이 로그 일관성을 유지 할 수 없다는 경고 메세지가 나와 다음과 같이 처리 함.
mysql > show global variables like '%repository' +---------------------------+-------+ | Variable_name | Value | +---------------------------+-------+ | master_info_repository | FILE | | relay_log_info_repository | FILE | +---------------------------+-------+ 위의 설정을 TABLE 로 변경 방법 1 ) mysql> stop slave; mysql> set global master_info_repository='table'; mysql> set global relay_log_info_repository='table'; mysql> start slave; 방법 2 ) my.cnf 설정 추가 master_info_repository=TABLE relay_log_info_repository=TABLE 설정 후 재시작 |
'프로그래밍 > mysql' 카테고리의 다른 글
mysql.innodb_index_stats' doesn't exist (0) | 2020.10.15 |
---|---|
mysql_config_editor 사용하기 (0) | 2019.07.10 |
Specified key was too long; max key length is 767 bytes (0) | 2018.05.04 |
현재 날짜의 주차 구하기 (0) | 2017.07.27 |
우분투에서 mysql apt 설치 후 데이터 디렉토리 옮기기 (0) | 2016.05.29 |