Product:
Search Type:

When using the migration manager to migrate Plesk data from FreeBSD I recieve the error after selecting the accounts we wish to transfer.

Article ID: 830 
Last Review: Mar,07 2006
APPLIES TO:
  • Plesk for Linux/Unix

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




Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields