2021.08.18
서버 들어올 때 OS 설치는 되어 들어와서 DB 설치만 진행했다.
이전엔 MariaDB 5.5를 설치했다면 이번엔 최신버전 10.6 설치 진행
1. repo에 다운로드 정보 등록
[root@ ~]# vi /etc/yum.repos.d/MariaDB.repo
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.6/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
2. 설치
[root@ ~]# yum install MariaDB-server MariaDB-client
설치 과정에서 나오는 y/n 중에 모두 y 입력
3. 설치 확인
[root@ ~]# rpm -qa | grep MariaDB
MariaDB-common-10.6.4-1.el7.centos.x86_64
MariaDB-client-10.6.4-1.el7.centos.x86_64
MariaDB-compat-10.6.4-1.el7.centos.x86_64
MariaDB-server-10.6.4-1.el7.centos.x86_64
4. mariadb 실행
[root@ mysql]# systemctl start mariadb
5. root password 설정
/usr/bin/mysqladmin -u root password '바꿀 password'
'programming > Linux' 카테고리의 다른 글
CentOS7 설치 네트워크 설정 (0) | 2021.12.23 |
---|---|
vim 에디터 hantech 오류 colorschema (0) | 2021.12.03 |
ERROR 1045 (28000): Access denied for user '-root'@'localhost' (using password: YES) (0) | 2021.07.08 |
MariaDB5.5 설치 과정 (1) root password 설정 (0) | 2021.07.08 |
CentOS6 에서 MariaDB 설치 시 NOKEY, RPM is not installed 오류 (0) | 2021.07.08 |