마리아 5버전에서 10 버전으로 업데이트 실행을 하니 실행이 안됨
[Warning] Can't create test file /home/mysql/s20210425.lower-test
Feb 22 17:03:59 s20210425 mariadbd: #007/usr/sbin/mariadbd: Can't change dir to '/home/mysql/' (Errcode: 13 "Permission denied")
/usr/lib/systemd/system/mariadb.service
# Prevent accessing /home, /root and /run/user
ProtectHome=true
#false 로 수정
ProtectHome=false
systemctl daemon-reload
systemctl start mariadb
======================================
cd /etc/yum.repos.d/
curl -LsS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash -s -- --mariadb-server-version="mariadb-10.6"
yum -y install mariadb*
yum -y install mariadb
yum -y install mariadb-server
systemctl start mariadb
mysqladmin -u root -p password '비밀번호'
|