Connect to SQL Server in Linux

Source: Internet
Author: User
Tags sql server odbc driver for linux

For a Linux client to connect to SQL Server... In fact, the best way is to use SQL Server as a database... MySQL is recommended.

But what if there is a need?

We recommend that you use SUSE Linux. After all, there have been protocols. What are Microsoft's official support recommendations for SUSE Linux? Use the SQL Server JDBC Driver.
The Microsoft SQL Server JDBC Driver is designed to work on any operating system that supports the use of a Java Virtual Machine (JVM ). however, only Sun Solaris, SUSE Linux, and Windows XP or later operating systems are officially supported.

In addition, we recommend that you use perl code to access SQL Server:
Perl on Linux (given)
DBI .... http://dbi.perl.org/
Unix ODBC (or equivalent like iODBC)... http://www.unixodbc.org/
FreeTDS (or equivalent ODBC driver)... http://www.freetds.org/
OpenSSL... http://www.openssl.org/
TLS

Microsoft guidance on accessing SQL Server with Perl
Http://technet.microsoft.com/en-us/library/bb497071.aspx

Third parties also have some solutions, such:
Http://www.easysoft.com/products/data_access/odbc-sql-server-driver/getting-started.html
It gives a solution for SQL Server ODBC Driver for Linux/Unix.

FreeTDS
Http://www.freetds.org/

The last recommendation is SQLite.
SQLite can be embedded into the SQL database engine. It is a C library and implements an entire SQL Server. It allows application developers to embed an entire SQL Server into their applications. Note that this is not a client library and cannot be used to connect to SQL Server.
For more details, refer:
Linux SQL Databases and Tools
Http://linas.org/linux/db.html

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.