• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Install Plesk 8.6 Can't connect to local MySQL server through socket '/tmp/mysql.sock

T

tg25500

Guest
YadaServer01# vi /tmp/psa_8.6.0_fr6.1.build86080722.02_installing.080905.18.22.log
START psa-8.6.0-fr6.1.build86080722.02 upgrading AT Fri Sep 5 18:22:54 ICT 2008

Trying to start service inetd... done
Trying to start MySQL server... /usr/local/libexec/mysqld is stopped
Starting mysql.
/usr/local/libexec/mysqld is stopped
rm: /tmp/mysql.sock: Operation not permitted
/usr/local/libexec/mysqld (pid 72586) is running...

===> Checking for the necessary system accounts
Checking for the system groups and users necessary for MySQL...
Checking for the group 'mysql'...
Group 'mysql' already exists

Checking for the user 'mysql'...
User 'mysql' already exists

Checking for the system groups and users necessary for admin server...
Checking for the group 'psaadm'...
Group 'psaadm' already exists

Checking for the user 'psaadm'...
User 'psaadm' already exists

Checking for the group 'psaserv'...
Group 'psaserv' already exists

Checking for the group 'psaserv'...
Trying to add supplementary group 'psaserv' for user 'www'... already there
Checking for the group 'psaserv'...
Trying to add supplementary group 'psaserv' for user 'psaftp'... already there
Checking for the group 'psaserv'...
Trying to add supplementary group 'psaserv' for user 'psaadm'... already there
Checking for the group 'psacln'...
Group 'psacln' already exists

Checking for the system groups and users necessary for Apache...
Checking for the group 'www'...
Group 'www' already exists

Checking for the user 'www'...
User 'www' already exists

Trying to start MySQL server... /usr/local/libexec/mysqld (pid 72586) is running...
Trying to establish test connection... ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

ERROR while trying to establish test connection

Aborting...

STOP psa-8.6.0-fr6.1.build86080722.02 upgrading AT Fri Sep 5 18:22:56 ICT 2008
 
Hi,

Try ceating a symbol link from the real mysql sock to /tmp/mysql.sock how it is advised it KB:
http://kb.odin.com/en/171
# ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sockv
Also, make sure just in case that there is no empty user in mysql:
# mysql –uroot
> Use mysql
> select * from user where User=””;
 
Back
Top