• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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