Server/Linux
[Ubuntu] Linux Failed to start MariaDB 10.6.12 database server 오류 해결
잔소리대마왕
2023. 10. 25. 13:25
mariadb를 실행하려고 명령어를 쳤는데
sudo systemctl start mariadb
mariadb.service: Main process exited, code=exited, status=1/FAILURE
mariadb.service: Failed with result 'exit-code'.
Failed to start MariaDB 10.6.12 database server.
오류가 발생했습니다.
이를 해결할 수 있는 방법을 알아봤는데 생각보다 간단한 방법이 있었습니다.
# 패키지를 재구성하고 패키지 자체의 설정을 변경
sudo dpkg-reconfigure mariadb-server-10.6
# 재시작
sudo systemctl restart mariadb
성공 : >