• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Install Plesk 11 5 Mysql error

Matrak

New Pleskian
Good morning,

I re-install my server properly on Centos 6.5
root@server:~ # cat /etc/redhat-release
CentOS release 6.5 (Final)
root@server:~ #
root@server:~ # php -v
PHP 5.4.30 (cli) (built: Jun 27 2014 11:59:31)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
root@server:~ #

I run ./parallels_installer_CentOS_6_x86_64, I choose custom install, at the end of it, this errors 'messges appears:
failed
One more attempt to connect
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 1045 (28000): Access denied for user 'admin'@'localhost' (using password: NO)
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 1045 (28000): Access denied for user 'admin'@'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... 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

ERROR: An error occurred during performing of installation PREP actions (see log for details). Installation was rolled back.
Warning! Not all packages were installed.
Please check if your system services are operable.
Please resolve this issue and try installing the packages again.
If you cannot resolve the issue on your own, contact product technical support for assistance.
root@server:~ # ^C
root@server:~ #

I try this:
mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 328
Server version: 5.5.38-cll-lve MySQL Community Server (GPL) by Atomicorp

Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> exit
Bye
and this:
root@server:~ # mysql -u admin -p
Enter password:
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
root@server:~ #
Ok, I read this:
http://kb.parallels.com/en/228
http://kb.parallels.com/en/116916
http://kb.parallels.com/en/346
with the last KB, I obtain:
root@server:~ # cat /etc/psa/.psa.shadow
cat: /etc/psa/.psa.shadow: No such file or directory
root@server:~ #
I don't understand where are my error, why the file ".psa.shadow' isn't present/created...

Thank you for help.
regards.
 
Strange line in log:

Could not open required defaults file: /root/.my.cnf

Have you absolutely clean default CentOS installation without any modifications of configs, especially MySQL?
Have you enabled any third-party repositories for yum?
 
Back
Top