Create a mysql view from sql server tables - mysql

I'm trying to create a mysql view from some sql server tables but I have not found the way. I have created a lot of views and tables in sql server from mysql tables with a linked server on sql server management studio but now I'm trying to do it to the other side.

You cannot do that, MySQL does not have the concept of linked servers connecting to other RDBMS products. The federated table engine can only connect to other MySQL servers.
You have to push the data from the ms sql server side into MySQL tables and you can create a view based on those tables within MySQL.

Related

Creating a SQL server view from multiple DB engines?

I have a SQL server DB, a Oracle DB, a MySQL DB. I have a way to join the tables from each DB. How would be the best way to create this view? I have just started SSIS project that pulls the tables from the DBs and creates the view I want, but is there a way to grab the data from each engine in the view in real-time\dynamic?
Thr best way to do that is to create a linked server for each instance (Oracle, MySQL) on sql server without the need to copy data.
And then you can create a view that join the tables between instances.
For more information, you can follow these articles:
Create Linked Servers (SQL Server Database Engine)
Create a linked server to MySQL from SQL Server
Creating a SQL Server 2014 Linked Server for an Oracle 11g Database
SQL Server Linked Server Example Query

SQL Server Migration Asistant (SSMA) doesn't recognise MySQL Columns

I am trying to migrate my MySQL DB to MsSQL.However, as you can see in the picture SQL Server Management Assistant cant recognise MySQL table columns.
alternative link https://ibb.co/HXxKMBx

How to replicate data between tables on linked servers?

Good Day
I have created a linked server on my SQL Server to my MySQL Database. The SQL Server Database is Called Main and the Table I am looking at is called ORDR. The MySQL Linked server connection is called MySQL_Link and the table I use in there is also called ORDR. How do I replicate the data from the SQL Server ORDR Table to The MYSQL ORDR table?
Thanks

sql server table relationships to port to MYSQL

I ported a MS SQL 2008 database to MYSQL using a tool (NaviCAT). All the tables ported OK and the data seemed intact.
But now I am implementing a project using that MySQL database and I noticed that all the table relationships where gone.
Anyone knows how I can port a MS SQL database to MySQL without losing the table relationships or if there is a way to just port the relationships?.

Copy records from a table in mysql database to a SQL-SERVER 2008 database?

How can I copy all the records from a table in a MySql database to another table in a SQL-SERVER 2008 database?
I have tons of records in that mysql table and I'm trying to "migrate" the data.
I tried using the "MS SQL Server Migration Assistant for Mysql", but it only migrated the structure (table names, indices, etc..).
I would look into SQL Server Integration Services (SSIS) Packages connecting to mysql here
I would also see if OPENROWSET() is something that would work for you