| title | Overview of SQL Server on Linux |
|---|---|
| description | This article describes how SQL Server runs on Linux and provides information on how to learn more. |
| author | VanMSFT |
| ms.author | vanto |
| ms.reviewer | randolphwest |
| ms.date | 06/08/2022 |
| ms.topic | conceptual |
| ms.prod | sql |
| ms.technology | linux |
| ms.assetid | 9dcc6a90-0add-42c2-815b-862e4e2a21ac |
[!INCLUDE SQL Server - Linux]
::: moniker range="= sql-server-2017 || = sql-server-linux-2017" Starting with [!INCLUDE sssql17-md], SQL Server runs on Linux. It's the same SQL Server database engine, with many similar features and services regardless of your operating system.
Tip
SQL Server 2019 is available! To find out what's new for Linux in the latest release, see What's new in SQL Server 2019 for Linux. ::: moniker-end
::: moniker range="= sql-server-ver15 || = sql-server-linux-ver15" [!INCLUDE sssql19-md] runs on Linux. It's the same SQL Server database engine, with many similar features and services regardless of your operating system. To find out more about this release, see What's new in SQL Server 2019 for Linux.
Tip
SQL Server 2022 Preview is available! To find out what's new for Linux in the latest release, see [What's new in [!INCLUDEsql-server-2022]](../sql-server/what-s-new-in-sql-server-2022.md). ::: moniker-end
::: moniker range=">= sql-server-ver16 || >= sql-server-linux-ver16" [!INCLUDE sssql22-md] runs on Linux. It's the same SQL Server database engine, with many similar features and services regardless of your operating system. To find out more about this release, see [What's new in [!INCLUDEsql-server-2022]](../sql-server/what-s-new-in-sql-server-2022.md). ::: moniker-end
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
- Install containers for SQL Server on Linux
- Provision a SQL VM in Azure
You can find SQL Server container images on Linux at the following locations, based on the operating system image that was used to create the image.
- For RHEL-based SQL Server container images, see SQL Server Red Hat Containers.
- For Ubuntu based SQL Server images, see SQL Server on Docker Hub.
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 |
Starting with [!INCLUDE sssql17-md], [!INCLUDE ssnoversion-md] has the same underlying database engine on all supported platforms, including Linux and containers. Therefore, many existing features and capabilities operate the same way. 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 [!INCLUDE ssnoversion-md] on Linux, review the release notes for general guidelines and known issues for this release:
Then look at what's new:
- What's new for SQL Server 2017
- What's new for SQL Server 2019 on Linux
- [What's new in [!INCLUDEsql-server-2022]](../sql-server/what-s-new-in-sql-server-2022.md)
Tip
For answers to frequently asked questions, see the SQL Server on Linux FAQ.
[!INCLUDEGet Help Options]
[!INCLUDEcontribute-to-content]