I have a SQL Server running on a local server that is connected to a POS (Point of Sale) system.
I want to create an online application to enable online sales of the products in the POS system. I'm using MySQL for this application's database. I would like to connect the MySQL instance to the SQL Server instance to avoid the need to enter duplicate data into each system. Ideally, changes made to the SQL Server database should be automatically reflected in the MySQL database.
Is there a way to do that with a Linked Server in SQL Server? Or should I use some other method? There are around 10,000 products in the SQL Server instance, and we sell around 5,000 each day.
Best Answer
Yes, Linked server and
OPENQUERY
is the right approach.However, 5k of sales per day is already a good website. If you are already on MSSQL why don't you use MSSQL for your website? Because you are using
WordPress
? There are solutions for that:Or if MSSQL and MySQL is what you want and you are good in usingg Microsoft technologies you can use SSIS to update data from MySQL to MSSQL and vice versa.