Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Im not able to install Plesk 11.5 on my dedicated Server under Ubuntu 12.04 LTS because the their is no access to mysql.

Installtion log says:

Trying to establish test connection... ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES) failed Trying to establish test connection... ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) failed Trying to establish test connection... ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) failed Trying to establish test connection... ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql' failed Trying to establish test connection... ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES) failed Trying to establish test connection... ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql' failed Trying to establish test connection... ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) failed Trying to establish test connection... Could not open required defaults file: /root/.my.cnf Fatal error in defaults handling. Program aborted failed One more attempt to connect

ERROR while trying to establish test connection Check the error reason(see log file: /tmp/plesk_11.5.30_installation.log), fix and try again

* problem report * ERROR while trying to establish test connection Check the error reason(see log file: /tmp/plesk_11.5.30_installation.log), fix and try again

Bootstrapper has finished action (exec time: 4.41 sec.): parent_name='panel', sequence='prep', stage='execute', sequence_order='0', operation='install', exec_cmd='/opt/psa/bootstrapper/pp11.5.30-bootstrapper/bootstrapper.sh prep-install BASE' ~empty Bootstrapper has finished action (exec time: 0 sec.): parent_name='PLESK_11_5_30', sequence='prep', stage='rollback', sequence_order='1', operation='install', exec_cmd='rm -f /tmp/pp-bootstrapper-mode.flag; rm -f /var/lock/parallels-panel-maintenance-mode.flag; rm -f /var/lock/parallels-panel-upgrade-failure.flag; :' Die Synchronisierung Debian APT-Paket-Indexdateien... FileFetcher: get file (~empty)/PSA_11.5.30/plesk-11.5.30-ubt12.04-x86_64.inf3 FileFetcher: get file (~empty)/SITEBUILDER_11.5.9/sitebuilder-11.5.9-deball-all.inf3 FileFetcher: get file (~empty)/BILLING_11.5.30/billing-11.5.30-deball-all.inf3 FileFetcher: get file (~empty)/NGINX_1.5.0/nginx-1.5.0-ubt12.04-x86_64.inf3 Execute command /opt/psa/admin/bin/send-error-report install Error: Während der PREP-Installation ist ein Fehler aufgetreten (siehe Protokoll für Einzelheiten).Die Installation wurde zurückgesetzt. Warnung! Es wurden nicht alle Pakete installiert. Bitte prüfen Sie, ob Ihre Systemdienste betriebsbereit sind. Bitte beheben Sie dieses Problem und versuchen Sie, die Pakete erneut zu installieren. Wenn Sie das Problem nicht selbst beheben können, wenden Sie sich bitte an den technischen Support.

Has anyone a solution or the same problems?

share|improve this question

1 Answer 1

It seems Plesk can't connect because it doesn't have login data for MySQL. Set correct data for the MySQL root login in /root/.my.cnf:

[client]
user = root
password = yourpass
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.