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
[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$
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
Try to increase max_connections variable in /etc/my.cnf.
Make sure that the /tmp/mysql.sock__file exists. If not, create the link:
ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock