MySQL 설치시 에러 때문에 관련글을 작성합니다.
패키지 에러, 패키지 깨짐 같은 현상으로 ^^ 에러 가 생길시.. 별다른 해결책없이
MySQL 삭제후 재설치가 답인것 같습니다.(ㅠㅠ 에러 해결이 안되네요)
그래서 우선 관련글을 빠르게 해외 사이트에서 찾아왔습니다.
완벽하게 제거후에 다시설치 고고싱 !
using apt:
apt-get –purge remove mysql-server
apt-get –purge remove mysql-client
apt-get –purge remove mysql-common
apt-get autoremove
apt-get autoclean
using aptitude (some people claim aptitude does a better job of removing dependencies):
aptitude remove mysql-client
aptitude remove mysql-server
aptitude remove mysql-common
see if anything depends on the installed packages
apt-cache rdepends mysql-server
apt-cache rdepends mysql-client
if you’ve changed apparmor settings change them back inside here:
pico /etc/apparmor.d/usr.sbin.mysqld
delete preferences(the next find command will delete everything):
rm -rf /etc/mysql
find all files with “mysql” on / and delete them:
find / -iname ‘mysql*’ -exec rm -rf {} \;
after all of the above do a clean install
aptitude install mysql-server mysql-client
check to see if mysql is running:
service mysql status
and you should get the response running
mysql start/running, process 3296
check with mysqladmin:
mysqladmin -u root -p status