• 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.

mysql.sock

all you do is symlink them
ln -s /tmp/mysql.sock /var/lib/mysql/mysql.sock
freebsd's mysql will use /tmp/mysql.sock but plesk wants
/var/lib/mysql/mysql.sock


# locate mysql.sock
/var/lib/mysql/mysql.sock
# ls -al /var/lib/mysql/mysql.sock
lrwxr-xr-x 1 root mysql 15 Dec 9 09:26 /var/lib/mysql/mysql.sock -> /tmp/mysql.sock
 
well... when i add this line to my /etc/my.cnf:

socket=/tmp/mysql.sock

the psa won't start

Plesk authorization failed: malformed response (no 'response=' field).
Error: Plesk Software not running
 
Originally posted by VIB-host
well... when i add this line to my /etc/my.cnf:

socket=/tmp/mysql.sock

the psa won't start

As DCoats writes - just symlink the file - this will make everything work as expected.
 
ls -allh mysql.sock
srwxrwxrwx 1 mysql wheel 0B Dec 16 14:01 mysql.sock

Key file: /usr/local/drweb/drweb32.key - Key file not found!
A path to a valid license key file was not specified.
Plesk authorization failed: malformed response (no 'response=' field).
Error: Plesk Software not running.

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

even when i have written socket=/tmp/mysql.sock in the /etc/my.cnf

drwxrwxrwt 9 root wheel 12800 Dec 16 14:07 tmp
 
all you have to do is create a symlink so that psa will find mysql.sock, why do I have to say this twice?
if you have /tmp/mysql.sock and psa complains it cant find /var/lib/mysql/mysql.sock then
ln -s /tmp/mysql.sock /var/lib/mysql/mysql.sock
or the reverse of that If you need to symlink the other way.
 
Back
Top