• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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