forums › forums › SQLyog › Sync tools, Migration, Scheduled Backup and Notifications › Data sync not working
- This topic is empty.
- 
		AuthorPosts
- 
		
			- 
December 6, 2004 at 9:56 am #16639wwwild 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 
- 
December 6, 2004 at 5:06 pm #16640Ritesh MemberAre you specifying the same local port for both the servers ( for SSH tunneling )? 
- 
December 7, 2004 at 11:50 pm #16641wwwild MemberEach connection is on a different port. Naturally, if they are on the same port, an error occurs. 
- 
December 8, 2004 at 5:54 am #16642Ritesh MemberCan you try the sync process without SSH tunneling? Are both your source and target server located at remote machines? Is it possible to send some sample data with the table sturctures? It will be very helpful in reproducing the error out here. Also the XML schema that you are using will be helpful. BTW, check out http://dev.mysql.com/doc/mysql/en/Gone_away.html. It might help you solving the error. 
- 
December 10, 2004 at 12:13 am #16643wwwild 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. 
- 
December 13, 2004 at 2:26 am #16644Ritesh MemberCan you cut-n-paste the XML schema for the job when you are using SSH tunneling (you can remove the username/password)? Do you have MSN? 
- 
December 13, 2004 at 3:12 am #16645wwwild 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 
- 
December 13, 2004 at 3:14 am #16646wwwild 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 
 
 
 
 
- 
- 
		AuthorPosts
- You must be logged in to reply to this topic.
