Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Export SQL Server database from MySQL import

I have .net script access to a microsoft server and I need to synch the database on this end with a LAMP server on the other end. Currently I've written my own CSV export routine, and a matching importer, but it's creaking under the strain. Is there a more efficient way to go about this? Can I stream a CSV export direct to IIS somehow?

I know that if I had more privileges, I could run a BACKUP DATABASE command, then run the backup to the other server with FTP and hopefully find some way to import this into MySQL. However this is not an option.

like image 950
Darth Egregious Avatar asked Dec 04 '22 17:12

Darth Egregious


1 Answers

If MySQL is accessible from the MSSQL server then you can create a linked server within MSSQL and MERGE, INSERT, UPDATE or whatever into MySQL's tables from within MSSQL.

like image 90
ta.speot.is Avatar answered Dec 10 '22 10:12

ta.speot.is