기계는 거짓말하지 않는다

MySQL Server Ubuntu 설치 시 Job for mysql.service failed because the control process exited with error code. 오류 본문

DB/MySQL

MySQL Server Ubuntu 설치 시 Job for mysql.service failed because the control process exited with error code. 오류

KillinTime 2024. 7. 26. 14:12
Job for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xeu mysql.service" for details.

MySQL ubuntu 설치 후 service 시작 시 위와 같은 메시지를 출력했다.

MariaDB와 겹친 경우였는데 모두 삭제하고 다시 설치했다.

sudo apt autoremove --purge mysql-server\* mariadb-server\*
sudo rm -rf /var/lib/mysql
sudo rm -rf /etc/mysql/
sudo mkdir -p /etc/mysql/conf.d
sudo apt install mysql-server

'DB > MySQL' 카테고리의 다른 글

MySQL max connection 설정, 현재 connection 확인  (0) 2023.12.20
MySQL hyphen(-) 포함 쿼리  (0) 2023.05.27
MySQL Workbench Restore Workspace 오류  (0) 2023.01.08
MySQL error code: 1175 update, delete 오류  (0) 2022.08.05
MySQL Trigger  (0) 2021.07.17
Comments