• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be 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.

Issue Plesk Migrator fails on mysql connection

KDawson

Basic Pleskian
Server operating system version
Ubuntu 24.04 LTS
Plesk version and microupdate number
18.0.61
Running Plesk migrator shows:

Failed to fetch information from target servers

Cause: Command execution failed on the local server with non-zero exit code.

command: MYSQL_PWD="$(cat /etc/psa/.psa.shadow)" mysql --silent --skip-column-names -u admin psa -e 'SHOW VARIABLES LIKE '"'"'socket'"'"''
exit code: 1

stdout:

stderr: ERROR 2002 (HY000): Can't connect to local server through socket '/run/mysqld/mysqld.sock' (2)
How do I get past this?
 
For what it's worth, here are the mysql versions on migration source & target.

Source:
> mysql --version
mysql Ver 15.1 Distrib 5.5.68-MariaDB, for Linux (x86_64) using readline 5.1

Target:
> mysql --version
mysql Ver 15.1 Distrib 10.11.7-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapper

I was migrating sites between this pair without problems yesterday. Overnight, Plesk Obsidian 18.0.61 Update 5 was installed (f that matters).
 
Also FWIW, /run/mysqld/mysqld.sock exists (it has all along). It ends with an "=" in an ls listing and the file utillity shows its type as "socket."

Doing ps -ax | grep mysql returns nothing, but ps ax | grep maria shows a mariadb process running.
 
Back
Top