RESOLUTION
The error:
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 -uadmin -p`cat /etc/psa/.psa.shadow ` 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