简体   繁体   中英

Connection to MSSQL from MySQL

I have a MySQL DB on Ubuntu Server. Is any possibility to establish a connection with remote MSSQL DB and use this DB in query? For example, execute in MySQL query like this:

SELECT mysql_table.field1,
       mssql_table.field2
FROM   MySQL.table_name AS mysql_table,
       MSSQL.table_name AS mssql_table
WHERE  mysql_table.id = mssql_table.id

As from the explanation here you cant use MySQL to connect to MSSQL .

You will have to use any clients.You can use FREETDS client for linux.You can also use OBDC and JDBC .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM