728x90
mariadb 10.4 설치 / centos
1. 설정파일 생성
vi /etc/yum.repos.d/MariaDB.repo
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.4/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
2. yum 설치
yum install -y MariaDB
3. 서비스 실행
systemctl enable mariadb
systemctl start mariadb
**root 패스워드 변경
mysql_secure_installation
Enter current password for root (enter for none): enter
Set root password? [Y/n] y
Remove anonymous users? [Y/n] y
Disallow root login remotely? [Y/n] n
Remove test database and access to it? [Y/n] n
Reload privilege tables now? [Y/n] y
728x90
'MariaDB' 카테고리의 다른 글
MariaDB federated 엔진 설치(DB링크) (0) | 2024.04.03 |
---|---|
ERROR 1419 (HY000) at line 1918 오류 조치 방법 (0) | 2022.10.05 |
mariadb 이관 방법 및 계정 생성 (0) | 2021.06.24 |
댓글