• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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