이전에는 잘 돌아가고 있었고 mysql을 다시 시작할 때 /etc/init.d/mysql을 다시 시작했을 때 전자 메일 서버를 구성하고있었습니다. 나는 그곳에서 아무 것도 만지지 않았지만 그 전에 실패한 apt-get 업데이트를 기억할 수 있다고 확신합니다.우분투 11.04에 MySQL이 설치되지 않습니다.
이제 내 문제는 갑자기 멈추고 시작되지도 않을 때 시작됩니다. Google에서 검색 한 결과 모든 것을 삭제하고 새 설치를 수행하기까지했습니다. 그러나 여전히 그것은 mysql을 제대로 설치하지 못하게 할 것이다.
I의 (a 제거 --purge 수행 한 후) 시도했다 :
sudo apt-get install mysql-server-5.5 mysql-client-5.5
하고 루트 passsword 나를 메시지를 표시하지만, 나에게 다음과 같은 오류 반환 :
Unable to set password for the MySQL "root" user
An error occurred while setting the password for the MySQL administrative user. This may have
happened because the account already has a password, or because of a communication problem with the
MySQL server.
You should check the account's password after the package installation.
Please read the /usr/share/doc/mysql-server-5.5/README.Debian file for more information.
와 I를 다음 로그도 있습니다 :
Selecting previously deselected package mysql-server-5.5.
(Reading database ... 117879 files and directories currently installed.)
Unpacking mysql-server-5.5 (from .../mysql-server-5.5_5.5.32-0ubuntu0.12.04.1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up mysql-server-5.5 (5.5.32-0ubuntu0.12.04.1) ...
130830 14:13:26 [ERROR] Can't find messagefile '/usr/share/mysql/errmsg.sys'
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.5 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
mysql-server-5.5
E: Sub-process /usr/bin/dpkg returned an error code (1)
어떤 도움이 필요합니까? 미리 감사드립니다.
설치, 제거 설치 제거 후 다시 설치하십시오. 우분투 버전을 업데이트하고 여전히 성공을 거두지 못했습니다. – ajib
비밀번호 재설정을 시도하셨습니까? –
비밀번호로 무슨 뜻인지 알지 못합니다. mysql의 루트 계정을 언급하고 있습니까? 그렇다면 대답은 '아니오'입니다. 이 에러는 실제로 시스템에 mysql-server를 재설치 할 때 발생합니다.나에게이 오류가 있기 때문에 설치를 계속할 수 없다. – ajib