Copy a range of data from MySQL to SQL Server - mysql

Im working with MySQL Events to select automatically a range of data from a Data Base in MySQL and I need to insert this data in other Server running SQL Server.
Do you know if it is possible?, How can I connect MySQL to SQL Server using tcp/ip or something like that to insert my data?

Related

AWS RDS - MySQL to SQL Server Linked Server - How To / Alternatives

Situation:
I have a MySQL database and SQL Server database, both in AWS RDS. SQL Server is 2016. I need to be able to select data from the MySQL db (in SQL Server). Before moving to RDS, I was able to accomplish this by creating a Linked Server in SQL Server using the MySQL Connector/ODBC.
My understanding is that ODBC driver must be installed/setup on the SQL Server (box), which isn't possible with RDS.
I looked at CLR, but not sure if that will be a viable route either (from reading online) with RDS (?).
Any ideas/experience on how I can select data from the MySQL database in SQL Server when both databases are housed in RDS? The solution doesn't need to be high speed and probably only needs to be used 100 to 200 times.
Only thing I can think of is to create a cache table in SQL, use my application layer to copy the MySQL data to the SQL cache table, and then use that cache table instead of MySQL directly.
Thanks!

Data synchronization between MySQL to MS SQL

I have configured two servers: one MySQL and one MS SQL server.
Application will run on Linux server with MySQL database as data storage.
When a new row is added to specific table in MySQL I need to push that row into specific table in MS SQL server.
I know that on MSSQL can be configured Linked Server targeting MySQL server via MySQL ODBC Driver.
But how to force synchronization from MySQL? Can I somehow use trigger in combination with something to do my job?

Insert into MySQL from SQL Server database

I have a data base which is SQL Server 2005, and I want to move some data from a table in this database to a MySQL database which is running on different server.
Is there any way to do this without using java code and creating some job.
SQL (Server A)
Table1
Move To
MySql (Server B)
Table2

Transfer sql server data to mysql database using program

I have an old system with sql server database. And I have to create a webiste with mysql database. The old system is still in use and is inserting data to the sql server DB everyday. So, I am thinking write a program that automatically transfer data from the sql server DB to the mysql DB. Any good suggestions? Thanks.
You have an active SQL Server database.
Unless you are planning to decommission this database server (for very good reasons not related to this new application), then the new application should simply query this server.
You can create a small (Maybe in c#) program that keeps running all the times with a timer, and on this timer, get all rows from SQL server that are not marked as "Copied", insert them on MySQL and the update those rows as "Copied". That program need to have access to both databases.

mysql select from one server insert to another mysql server?

I wont to do insert to one mysqll server to and get the data or do the select part
of the insert into select from anther mysql server
not just copy entire tables is this possible in my sql
I know that in MS Sql server you can do a linked server
thanks
The excellent, FOSS, cross-platform SQL Workbench query tool supports exactly this, for any database you have a JDBC driver for, as documented in this manual page.