Skip to menu

Server Admin

mariaDB 설치

inkwang@gmail.com 2019.02.25 10:02 Views : 99

mariaDB 설치 

 

1. repo 설정

vi /etc/yum.repos.d/MariaDB.repo

[mariadb]

name = MariaDB

baseurl = https://yum.mariadb.org/10.5.2/centos7-amd64/

gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB

gpgcheck=1

 

2. DB install
yum install MariaDB-server

 

3. 부팅 service

systemctl enable mariadb.service

 

4. DB 구동
systemctl start mariadb

 

5. root password
mysqladmin password

 

 

Up