SQL Server on Linux
SQL Server (Linux only)
Azure SQL Database
Azure SQL Data Warehouse
Parallel Data Warehouse SQL Server 2017 now runs on Linux. It’s the same SQL Server database engine, with many similar features and services regardless of your operating system.
Install
To get started, install SQL Server on Linux using one of the following quickstarts:
- Install on Red Hat Enterprise Linux
- Install on SUSE Linux Enterprise Server
- Install on Ubuntu
- Run on Docker
- Provision a SQL VM in Azure
Note
Docker itself runs on multiple platforms, which means that you can run the Docker image on Linux, Mac, and Windows.
Connect
After installation, connect to the SQL Server instance on your Linux machine. You can connect locally or remotely and with a variety of tools and drivers. The quickstarts demonstrate how to use the sqlcmd command-line tool. Other tools include the following:
| Tool | Tutorial |
|---|---|
| Visual Studio Code (VS Code) | Use VS Code with SQL Server on Linux |
| SQL Server Management Studio (SSMS) | Use SSMS on Windows to connect to SQL Server on Linux |
| SQL Server Data Tools (SSDT) | Use SSDT with SQL Server on Linux |
Explore
SQL Server 2017 has the same underlying database engine on all supported platforms, including Linux. So many existing features and capabilities operate the same way on Linux. This area of the documentation exposes some of these features from a Linux perspective. It also calls out areas that have unique requirements on Linux.
If you are already familiar with SQL Server, review the Release notes for general guidelines and known issues for this release. Then look at what's new for SQL Server on Linux as well as what's new for SQL Server 2017 overall.
Tip
For answers to frequently asked questions, see the SQL Server on Linux FAQ.
Get Help
- UserVoice - Suggestion to improve SQL Server?
- Stack Overflow (tag sql-server) - ask SQL development questions
- Setup and Upgrade - MSDN Forum
- SQL Server Data Tools - MSDN forum
- Reddit - general discussion about SQL Server
- Microsoft SQL Server License Terms and Information
- Support options for business users
- Contact Microsoft




