
Ubuntu Minimal 12.04에 MySQL을 어떻게 설치합니까?
새로 설치한 후에도 (루트로) 시도하면 다음과 같은 메시지가 나타 apt-get install mysql-server
납니다 .apt-get update
apt-get upgrade
# Setting up mysql-server-5.5 (5.5.37-0ubuntu0.14.04.1) ...
# /var/lib/dpkg/info/mysql-server-5.5.postinst: line 146: logger: command not found
# ATTENTION: An error has occured. More info is in the syslog!
# /var/lib/dpkg/info/mysql-server-5.5.postinst: line 236: logger: command not found
# dpkg: error processing package mysql-server-5.5 (--configure):
# subprocess installed post-installation script returned error exit status 127
# dpkg: dependency problems prevent configuration of mysql-server:
# mysql-server depends on mysql-server-5.5; however:
# Package mysql-server-5.5 is not configured yet.
답변1
이거 해봤어?
sudo apt-get update --fix-missing
sudo apt-get build-dep mysql-client5.5 mysql-server5.5
sudo apt-get -f install
그것을 시도해보고 그것이 당신에게 어떤 적인지 알려주세요 ..
답변2
새로 설치하는 것이므로 다음 단계에 따라 완전히 제거하세요.
apt-get purge mysql-server : MySQL 서버가 제거됩니다.
apt-get purge mysql-common : 관련 MySQL 파일을 제거합니다.
rm -rf /var/lib/mysql : MySQL의 데이터 폴더가 삭제됩니다.
rm -rf /etc/mysql
완료하면 컴퓨터에서 MySQL이 완전히 제거됩니다.
이제 속성을 지정하여 다시 설치하는 명령을 사용해 보십시오.
apt-get install mysql-server --fix-missing --fix-broken
도움이 되길 바라요