Forum Replies Created
-
AuthorPosts
-
wwwild
MemberTrying it again, this time with correctly in code tags…
Code:
user
password
machine name of source machine
22
3311
localhost
mysql user mysql password 3306 mysql database name
user
password
machine name of target machine
22
3315
localhost
mysql user mysql password 3306 mysql database name
wwwild
MemberHere is the schema:
user password machine name of source machine 22 3311 localhost mysql user mysql password 3306 mysql database name user password machine name of target machine 22 3315 localhost mysql user mysql password 3306 mysql database name wwwild
MemberYes – both source and target servers are on remote machines.
Without SSH tunnelling it appears to work fine. So I guess that there is something going wrong with the SSH tunnel.
wwwild
MemberI had the same issue when doing a sync between a MySQL 3.23.x server and MySQL 4 server.
wwwild
MemberEach connection is on a different port. Naturally, if they are on the same port, an error occurs.
wwwild
MemberTwo more points I'll add to this post –
1. I am using a SSH tunnel for connections to both the source and target databases.
2. It appears to be a problem with tables with 100 or more rows of data. I notice this message in the error log when it happens on a table:
Error No. 2013
Lost connection to MySQL server during query
-
AuthorPosts