반응형

Centos 7 5

[MariaDB] 기본 디렉토리(datadir) 변경 가이드

[MariaDB] 기본 디렉토리(datadir) 변경 가이드 OS 환경 CentOS 7 DB 환경 MariaDB 10.6.11 디렉토리 경로 확인 [root@host01 ~]# mysql -u root -p Enter password: Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 5 Server version: 10.6.11-MariaDB-log MariaDB Server Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the c..

MySQL 2022.11.24

[MariaDB] MariaDB 10.2 에서 MariaDB 10.6으로 바이너리 업그레이드 (tar.gz)

[MariaDB] MariaDB 10.2 에서 MariaDB 10.6으로 바이너리 업그레이드 (tar.gz) OS 환경 CentOS 7 DB 환경 As-Is : MariaDB 10.2.44 To-Be : MariaDB 10.6.8 설치파일 mariadb-10.6.8-linux-systemd-x86_64.tar.gz # 10.6 버전 설치 후 10.2 DB의 data를 가져와서 Upgrade를 진행 패키지 설치 # 데이터 rsync로 넘길 예정 [root@host01 mysql]# yum install -y rsync MariaDB DB 확인(As-Is) test 데이터 확인 MariaDB [testdb]> select * from test; +---------+ | no | +---------+ | 1 ..

MySQL 2022.07.11

[MariaDB] CentOS 7 에 MariaDB 10.2 바이너리 설치 가이드 (tar.gz)

[MariaDB] CentOS 7 에 MariaDB 10.2 바이너리 설치 가이드 (tar.gz) OS 환경 CentOS 7 DB 환경 MariaDB 10.2.44 설치파일 mariadb-10.2.44-linux-systemd-x86_64.tar.gz MariaDB 설치 전 사전 설정 필수 패키지 설치 [root@host01 ~]# yum install -y libaio 유저 생성 [root@host01 ~]# groupadd mysql [root@host01 ~]# useradd -g mysql mysql [root@host01 ~]# passwd mysql mysql 사용자의 비밀 번호 변경 중 새 암호: 잘못된 암호: 암호는 8 개의 문자 보다 짧습니다 새 암호 재입력: passwd: 모든 인증 토..

MySQL 2022.07.08

[CentOS 7] MariaDB 10.2 에서 MariaDB 10.6으로 업그레이드

OS 환경 : CentOS 7 DB 환경 : MariaDB 10.2 As-Is : MariaDB 10.2 To-Be : MariaDB 10.6 MariaDB 10.2 설치 저장소 변경 # 저장소 주소 등록 [root@host01 ~]# vi /etc/yum.repos.d/MariaDB.repo # MariaDB 10.2 CentOS repository list - created 2022-07-08 00:24 UTC # https://mariadb.org/download/ [mariadb] name = MariaDB baseurl = https://ftp.harukasan.org/mariadb/yum/10.2/centos7-amd64 gpgkey=https://ftp.harukasan.org/mariadb..

MySQL 2022.07.08
반응형
맨 위로