Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

7 total results found

MariaDB 컴파일 후 초기설치할때 에러

4. DBMS 정보기록 Mysql&MariaDB

MariaDB일부버전에서 mysql 테이블 생성시 다음과 같은 오류 [ERROR] /usr/local/mysql/libexec/mysqld: ambiguous option '--o' (old-alter-table, optimizer_switch) [ERROR] Aborting 메시지가 떠 있다면 /etc/my.cnf파일을 확인해서  124번줄 o#로 되어 있으면, o을 제거

mariadb
compile

mariadb기반의 galera 구성 오류메시지 조치

4. DBMS 정보기록 Mysql&MariaDB

mariadb기반의에서 galera 구성할때 provider 에러메시지 나오면서 종료 2022-02-11 1:23:59 0 [ERROR] WSREP: provider interface version mismatch: need '26', found '25' 2022-02-11 1:23:59 0 [ERROR] WSREP: Failed to create a new provider '/usr/lib64/galera-3/libgalera_smm.so' with o...

mariadb
galera
galera cluster

mariadb에서 패스워드 없이 로그인할때

4. DBMS 정보기록 Mysql&MariaDB

문제상황 mysql_install_db 실행 후 mysql 프로세스 실행 완료.mysql_secure_install 적용하고 나서 로그인할때 패스워드 없이 로그인이 되는 경우. # mysql -u root Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 15 Server version: 10.4.7-MariaDB MariaDB Server C...

mariadb
socket-authentication

Mysql Audit 기능 설정

4. DBMS 정보기록 Mysql&MariaDB

개 요 Mysql내에 접근기록을 사용할 수 있는 Audit 플러그인 설명 제약사항  Mysql 5.6이상 설치가 가능하나, Mysql내에는 Enterprise Edition만 제공되는 것으로 파악 MariaDB내에는 Audit Plugin이 제공되어 MariaDB에 저장된 플러그인을 통해 Audit 기능 활성화 가능 설치 방법  Mysql 접속 후 플러그인 경로 확인 mysql> show global variables like 'plugin_di...

mysql
audit
mariadb

corosync / pacemaker 기반의 DB이중화

4. DBMS 정보기록 Mysql&MariaDB

패키지 설치 DB이중화 구성 DB 모니터링을  위한 스크립트 설치 $> vi /etc/init.d/db_check #!/bin/bash case "$1" in "start") echo "start" ;; "stop") echo "stop" ;; "status") mysql --connect-timeout 2 -u monitor -p'모니터 계정패스워드' -h localhost -Nse 'select...

corosync
pacemaker
mariadb

keepalived기반의 DB이중화 구현

4. DBMS 정보기록 Mysql&MariaDB

시스템 구성도 서버정보 로드밸런싱 종류 알고리즘 종류 알고리즘 설명 설정값 라운드 로빈 하나씩 분배 rr 가중치 라운드 로빈 가중치가 큰 서버로 분배 wrr 최소 연결 접속수가 적은 서버로 분배 lc 가중치 최소연결 (접속수+1)/가중치 로 최소값 서버로 분배 wlc 지역 최소연결 접속수가 가중치를 넘기기전까지 한서버만 분배 lblc 복제기반의 지역 ...

mariadb
keepalived
ipvsadm
high availability
vip

maxscale기반의 DB 이중화 운영

4. DBMS 정보기록 Mysql&MariaDB

개 요 기존 Mysql + myql-mmm 구조기반에서의 DB이중화 구조에서의 문제점 비동기식 replication 구조에서 read / write가 많은 경우 replication이 깨지거나 지연되는 현상이 빈번함 mmm의 버전 업데이트가 없음 ( latest버전인 2.2.1은 2012년 12월이 마지막) mmm 버그로 인한 failover / failback 이슈가 발생이 있음 Maxscale 소개 Mariadb에서 제공하는 DB클러...

maxscale
mariadb
high availability