Sql server from linux

SQL Server on Linux

Starting with SQL Server 2017 (14.x), SQL Server runs on Linux. It’s the same SQL Server database engine, with many similar features and services regardless of your operating system.

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.

SQL Server 2019 (15.x) 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.

SQL Server 2022 is available! To find out what’s new for Linux in the latest release, see What’s new in SQL Server 2022.

SQL Server 2022 (16.x) 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 2022.

Install

To get started, install SQL Server on Linux using one of the following quickstarts:

Container images

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:

  • 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.

Containers will only be published to MCR for the most 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, see Upcoming updates to SQL Server container images on Microsoft Artifact Registry aka (MCR).

Connect

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 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
Читайте также:  Удаленный графический терминал linux

Explore

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:

For answers to frequently asked questions, see the SQL Server on Linux FAQ.

Get help

Contribute to SQL documentation

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.

Feedback

Submit and view feedback for

Источник

SQL Server в Linux

Начиная с версии SQL Server 2017 (14.x) возможна работа SQL Server на Linux. Несмотря на другую операционную систему, это то же ядро СУБД SQL Server с множеством схожих функций и служб.

SQL Server 2019 (15.x) работает на Linux. Несмотря на другую операционную систему, это то же ядро СУБД SQL Server с множеством схожих функций и служб. Дополнительные сведения об этом выпуске см. в статье Новые возможности SQL Server 2019 для Linux.

SQL Server 2022 г. доступен! Сведения о новых возможностях Linux в последнем выпуске см. в статье Новые возможности в SQL Server 2022 г.

SQL Server 2022 (16.x) работает на Linux. Несмотря на другую операционную систему, это то же ядро СУБД SQL Server с множеством схожих функций и служб. Дополнительные сведения об этом выпуске см. в статье Новые возможности SQL Server 2022 г.

Установка

Чтобы начать работу, установите SQL Server на Linux, используя любое из следующих кратких руководств:

Образы контейнеров

SQL Server образы контейнеров публикуются и доступны в Реестре контейнеров Майкрософт (MCR), а также каталогизуются в следующих расположениях на основе образа операционной системы, который использовался при создании образа контейнера:

  • Образы контейнеров SQL Server на основе RHEL можно найти по ссылке Контейнеры SQL Server Red Hat.
  • Образы SQL Server на основе Ubuntu можно найти по ссылке SQL Server в Docker Hub.
Читайте также:  Запустить elf в linux

Контейнеры будут опубликованы в MCR только для самых последних дистрибутивов Linux. Если вы создаете собственный пользовательский образ контейнера SQL Server для более старого поддерживаемого дистрибутива, он по-прежнему будет поддерживаться. Дополнительные сведения см. в статье Предстоящие обновления образов контейнеров SQL Server в Реестр артефактов Microsoft (MCR).

Подключение

После установки подключитесь к экземпляру SQL Server на компьютере с Linux. Вы можете устанавливать подключение как локально, так и удаленно, используя различные средства и драйверы. В кратком руководстве показано, как использовать программу командной строки sqlcmd. Также можно использовать следующие средства:

Инструмент Учебник
Visual Studio Code (VS Code) Использование VS Code с SQL Server на Linux
SQL Server Management Studio (SSMS) Использование SSMS в Windows для подключения к SQL Server на Linux
SQL Server Data Tools (SSDT) Использование SSDT с SQL Server на Linux

Изучить

Начиная с SQL Server 2017 (14.x) базовое ядро СУБД остается неизменным на всех поддерживаемых платформах, включая Linux и контейнеры. Поэтому многие существующие функции и возможности работают одинаково. В этой части документации некоторые из этих функций рассматриваются с точки зрения платформы Linux. Кроме того, отмечаются области, в которых платформа Linux предъявляет уникальные требования.

Если вы уже знакомы с SQL Server на Linux, изучите общие рекомендации и известные проблемы в заметках об этом выпуске:

Также ознакомьтесь с новыми возможностями:

Ответы на часто задаваемые вопросы об SQL Server на Linux см. в этой статье.

Получение справки

Примите участие в разработке документации по SQL

Знаете ли вы, что содержимое SQL можно изменить самостоятельно? Это не только улучшит нашу документацию, но и даст вам статус участника в создании этой страницы.

Источник

SQL Server on Linux

Starting with SQL Server 2017 (14.x), SQL Server runs on Linux. It’s the same SQL Server database engine, with many similar features and services regardless of your operating system.

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.

SQL Server 2019 (15.x) 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.

SQL Server 2022 is available! To find out what’s new for Linux in the latest release, see What’s new in SQL Server 2022.

SQL Server 2022 (16.x) 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 2022.

Читайте также:  Операционная система gnu linux является многопользовательской

Install

To get started, install SQL Server on Linux using one of the following quickstarts:

Container images

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:

  • 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.

Containers will only be published to MCR for the most 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, see Upcoming updates to SQL Server container images on Microsoft Artifact Registry aka (MCR).

Connect

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 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

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:

For answers to frequently asked questions, see the SQL Server on Linux FAQ.

Get help

Contribute to SQL documentation

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.

Обратная связь

Отправить и просмотреть отзыв по

Источник

Оцените статью
Adblock
detector