This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
Applies to:SQL Server - Linux
SQL Server runs on Linux, starting with SQL Server 2017 (14.x). It's the same SQL Server Database Engine, with many similar features and services regardless of your operating system.
To get started, install SQL Server on Linux using one of the following quickstarts:
The SQL Server container images are published and available on the Microsoft Container Registry (MCR), and also cataloged at the following locations, based on the operating system image that was used when creating the container image:
Note
Containers will only be published to MCR for themost recent Linux distributions. If you create your own custom SQL Server container image for an older supported distribution, it will still be supported. For more information, seeUpcoming updates to SQL Server container images on Microsoft Artifact Registry aka (MCR).
After installation, connect to the SQL Server instance on your Linux machine. You can connect locally or remotely and with various tools and drivers. The quickstarts demonstrate how to use thesqlcmd command-line tool. Other tools include the following:
Tool | Tutorial |
---|---|
Visual Studio Code (VS Code) | SQL Server extension for Visual Studio Code |
SQL Server Management Studio (SSMS) | Use SQL Server Management Studio on Windows to manage SQL Server on Linux |
SQL Server Data Tools (SSDT) | Use Visual Studio to create databases for SQL Server on Linux |
Starting with SQL Server 2017 (14.x), SQL Server 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're already familiar with SQL Server on Linux, review the release notes for general guidelines and known issues for this release:
To find out more about each release, see:
To see what's new in each version for Windows, see:
Tip
For answers to frequently asked questions, see theSQL Server on Linux FAQ.
Did you know that you can edit SQL content yourself? If you do so, not only do you help improve our documentation, but you also get credited as a contributor to the page.
For more information, seeEdit Microsoft Learn documentation.
Was this page helpful?
Was this page helpful?