I’m trying to synchronize MySQL tables with the tables from SQL Server 2008. What I want is on way synchronization from SQL server to MySQL. I already transfered tables from SQL Server to MySQL all I need now is the PHP code that will update the table (check for changes, insert new lines, delete non-existing ones) automatically whenever run. Can anybody help me?
I’m trying to synchronize MySQL tables with the tables from SQL Server 2008. What
Share
What may be of use to use is an ETL tool. One designed for SQL Server is SSIS. It may be possible to use this to help bring in the data that you want, but I’ve never used it for MySQL before. According to this post [ http://blogs.msdn.com/b/mattm/archive/2008/03/03/connecting-to-mysql-from-ssis.aspx ] it is actually possible.
Another post that may help you out:
http://www.packtpub.com/article/mysql-data-transfer-using-sql-server-integration-services-ssis
Unfortuantly the last article describes it from MySQL to SQL Server, which is not the direction you want. It may be possible to get it working the other way, but you may need to find an ETL tool for MySQL. I’m not aware of any off the top of my head, though a quick Google search revealed http://www.benetl.net/ , but I can’t vouch for it.