• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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