SQL Server Replication Transactional Replication from MSSQL 200x to MYSQL 5.x

3,773 views
3,205 views

Published on

Transactional Replication
from MSSQL 200x to MYSQL 5.x

Published in: Technology
0 Comments
7 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,773
On SlideShare
0
From Embeds
0
Number of Embeds
10
Actions
Shares
0
Downloads
62
Comments
0
Likes
7
Embeds 0
No embeds

No notes for slide

SQL Server Replication Transactional Replication from MSSQL 200x to MYSQL 5.x

  1. 1. SQL Server Replication Transactional Replication from MSSQL 200x to MYSQL 5.x Thet Aung Min Latt thetaung@tbitweb.com IT Director - Tbit Solution
  2. 2. Co presenter Kyaw Soe Thet Senior web developer Tbit Solution May Zune Aung Senior web developer Tbit Solution
  3. 3. SQL Server Replication?
  4. 4. SQL Server Replication Snapshot replication Transactional Merge replication replication
  5. 5. Snapshot replication distributes data exactly as it appears at a specific moment does not monitor for updates to the data
  6. 6. Transactional replication starts with a snapshot of the publication database objects and data  subsequent data changes and schema modifications in near real time intermediate data states high volume of insert, update, and delete activity non-SQL Server database 
  7. 7. Merge replication tracked with triggers server-to-client environments client receive data, make changes offline, and later synchronize changes
  8. 8. Sample replication mssql Changes at the web mysql
  9. 9. Test enviroment Windows7 MSSQL Server 2008 MYSQL ODBC connecter 3.5 (http://dev.mysql.com/downloads/connect or/odbc/3.51.html) xampp (MYSQL 5.1.x, phpmyadmin)
  10. 10. Allow mysql user
  11. 11. Install MYSQL ODBC connecter 3.5
  12. 12. add MYSQL ODBC driver in dsn
  13. 13. SQL Server Management Studio Start it
  14. 14. Publication databases
  15. 15. Change Provider Options Expend -> linked servers -> Providers right click "MSDASQL“, Nested queries level zero only allow inprocess supports 'like' operator
  16. 16. Change Provider Options
  17. 17. Step1 new query window Step1
  18. 18. Step2 query Step2 window
  19. 19. Step3 query Step3 window
  20. 20. References:  msdn.microsoft.com/en-us/library/ms152531.aspx  dbperf.wordpress.com/2010/07/22/link-mysql-to-ms-sqlserver2008/server2008/  www.ideaexcursion.com/2009/02/25/howto-setup-sql-serverlinked-server-to-mysql  www.mssqltips.com/sqlservertip/2300/introduction-to-sql-serverheterogeneous-replication  www.codeproject.com/Tips/452732/MySQL-Database-ReplicationProcedure  akprogrammingblog.blogspot.com
  21. 21. Questions?

×