Article ID: 830, created on Oct 6, 2008, last review on Jun 19, 2016

  • Applies to:
  • Plesk for Linux/Unix


Unable to migrate Plesk data from FreeBSD:

Failed to upload the migration agent
Cannot transfer agent to the remote host
Lost connection with the remote host

migration.log shows:

[22:25:03 19.08.2005 | pid 13131]:5; readResponse|handle 1|(14) data[Error: unable to connect to database: Can't connect to local MySQL server through socket$

  1. Make sure that Mysql is running on the source server and you are able to login into it with:

    MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin psa
  2. Try to increase max_connections variable in /etc/my.cnf.

  3. Make sure that theĀ  /tmp/mysql.sock__file exists. If not, create the link:

    ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock

a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF