- Quickstart: Install SQL Server and create a database on SUSE Linux Enterprise Server
- Prerequisites
- Install SQL Server 2017
- Install SQL Server 2019
- Install the SQL Server command-line tools
- Connect locally
- Create and query data
- Create a new database
- Insert data
- Select data
- Exit the sqlcmd command prompt
- Performance best practices
- Cross-platform data tools
- Connecting from Windows
- Other deployment scenarios
- Краткое руководство. Установка SQL Server и создание базы данных в SUSE Linux Enterprise Server Quickstart: Install SQL Server and create a database on SUSE Linux Enterprise Server
- Предварительные требования Prerequisites
- Установка SQL Server 2017 Install SQL Server 2017
- Установка SQL Server 2019 Install SQL Server 2019
- Установка программ командной строки SQL Server Install the SQL Server command-line tools
- Локальное подключение Connect locally
- Создание и запрос данных Create and query data
- Создание базы данных Create a new database
- Добавление данных Insert data
- Выбор данных Select data
- Выход из приглашения команды sqlcmd Exit the sqlcmd command prompt
- Оптимальные методы повышения производительности Performance best practices
- Кроссплатформенные средства работы с данными Cross-platform data tools
- Подключение из Windows Connecting from Windows
- Другие сценарии развертывания Other deployment scenarios
Quickstart: Install SQL Server and create a database on SUSE Linux Enterprise Server
Applies to: SQL Server (all supported versions) — Linux
In this quickstart, you install SQL Server 2017 or SQL Server 2019 on SUSE Linux Enterprise Server (SLES) v12 SP2. You then connect with sqlcmd to create your first database and run queries.
In this quickstart, you install SQL Server 2019 on SUSE Linux Enterprise Server (SLES) v12. You then connect with sqlcmd to create your first database and run queries.
SQL Server 2019 is supported on SUSE Enterprise Linux Server v12 SP2, SP3, SP4 or SP5.
This tutorial requires user input and an internet connection. If you are interested in the unattended or offline installation procedures, see Installation guidance for SQL Server on Linux.
Prerequisites
You must have a SLES v12 SP2 machine with at least 2 GB of memory. The file system must be XFS or EXT4. Other file systems, such as BTRFS, are unsupported.
You must have a SLES v12 SP2, SP3, SP4 or SP5 machine with at least 2 GB of memory. The file system must be XFS or EXT4. Other file systems, such as BTRFS, are unsupported.
To install SUSE Linux Enterprise Server on your own machine, go to https://www.suse.com/products/server. You can also create SLES virtual machines in Azure. See Create and Manage Linux VMs with the Azure CLI, and use —image SLES in the call to az vm create .
If you have previously installed a CTP or RC release of SQL Server, you must first remove the old repository before following these steps. For more information, see Configure Linux repositories for SQL Server 2017 and 2019.
At this time, the Windows Subsystem for Linux for Windows 10 is not supported as an installation target.
Install SQL Server 2017
To configure SQL Server 2017 on SLES, run the following commands in a terminal to install the mssql-server package:
Download the Microsoft SQL Server 2017 SLES repository configuration file:
If you want to install SQL Server 2019 , you must instead register the SQL Server 2019 repository. Use the following command for SQL Server 2019 installations:
Refresh your repositories.
To ensure that the Microsoft package signing key is installed on your system, please import it using the command below:
Run the following commands to install SQL Server:
After the package installation finishes, run mssql-conf setup and follow the prompts to set the SA password and choose your edition.
The following SQL Server 2017 editions are freely licensed: Evaluation, Developer, and Express.
Make sure to specify a strong password for the SA account (Minimum length 8 characters, including uppercase and lowercase letters, base 10 digits and/or non-alphanumeric symbols).
Once the configuration is done, verify that the service is running:
If you plan to connect remotely, you might also need to open the SQL Server TCP port (default 1433) on your firewall. If you are using the SuSE firewall, you need to edit the /etc/sysconfig/SuSEfirewall2 configuration file. Modify the FW_SERVICES_EXT_TCP entry to include the SQL Server port number.
At this point, SQL Server is running on your SLES machine and is ready to use!
Install SQL Server 2019
To configure SQL Server 2019 on SLES, run the following commands in a terminal to install the mssql-server package:
Download the Microsoft SQL Server 2019 SLES repository configuration file:
Refresh your repositories.
To ensure that the Microsoft package signing key is installed on your system, use the following command to import the key:
Run the following commands to install SQL Server:
After the package installation finishes, run mssql-conf setup and follow the prompts to set the SA password and choose your edition.
Make sure to specify a strong password for the SA account (Minimum length 8 characters, including uppercase and lowercase letters, base 10 digits and/or non-alphanumeric symbols).
Once the configuration is done, verify that the service is running:
If you plan to connect remotely, you might also need to open the SQL Server TCP port (default 1433) on your firewall. If you are using the SuSE firewall, you need to edit the /etc/sysconfig/SuSEfirewall2 configuration file. Modify the FW_SERVICES_EXT_TCP entry to include the SQL Server port number.
At this point, SQL Server 2019 is running on your SLES machine and is ready to use!
Install the SQL Server command-line tools
To create a database, you need to connect with a tool that can run Transact-SQL statements on the SQL Server. The following steps install the SQL Server command-line tools: sqlcmd and bcp.
Add the Microsoft SQL Server repository to Zypper.
Install mssql-tools with the unixODBC developer package. For more information, see Install the Microsoft ODBC driver for SQL Server (Linux).
For convenience, add /opt/mssql-tools/bin/ to your PATH environment variable. This enables you to run the tools without specifying the full path. Run the following commands to modify the PATH for both login sessions and interactive/non-login sessions:
Connect locally
The following steps use sqlcmd to locally connect to your new SQL Server instance.
Run sqlcmd with parameters for your SQL Server name (-S), the user name (-U), and the password (-P). In this tutorial, you are connecting locally, so the server name is localhost . The user name is SA and the password is the one you provided for the SA account during setup.
You can omit the password on the command line to be prompted to enter it.
If you later decide to connect remotely, specify the machine name or IP address for the -S parameter, and make sure port 1433 is open on your firewall.
If successful, you should get to a sqlcmd command prompt: 1> .
If you get a connection failure, first attempt to diagnose the problem from the error message. Then review the connection troubleshooting recommendations.
Create and query data
The following sections walk you through using sqlcmd to create a new database, add data, and run a simple query.
Create a new database
The following steps create a new database named TestDB .
From the sqlcmd command prompt, paste the following Transact-SQL command to create a test database:
On the next line, write a query to return the name of all of the databases on your server:
The previous two commands were not executed immediately. You must type GO on a new line to execute the previous commands:
To learn more about writing Transact-SQL statements and queries, see Tutorial: Writing Transact-SQL Statements.
Insert data
Next create a new table, Inventory , and insert two new rows.
From the sqlcmd command prompt, switch context to the new TestDB database:
Create new table named Inventory :
Insert data into the new table:
Type GO to execute the previous commands:
Select data
Now, run a query to return data from the Inventory table.
From the sqlcmd command prompt, enter a query that returns rows from the Inventory table where the quantity is greater than 152:
Execute the command:
Exit the sqlcmd command prompt
To end your sqlcmd session, type QUIT :
Performance best practices
After installing SQL Server on Linux, review the best practices for configuring Linux and SQL Server to improve performance for production scenarios. For more information, see Performance best practices and configuration guidelines for SQL Server on Linux.
Cross-platform data tools
In addition to sqlcmd, you can use the following cross-platform tools to manage SQL Server:
Tool | Description |
---|---|
Azure Data Studio | A cross-platform GUI database management utility. |
Visual Studio Code | A cross-platform GUI code editor that run Transact-SQL statements with the mssql extension. |
PowerShell Core | A cross-platform automation and configuration tool based on cmdlets. |
mssql-cli | A cross-platform command-line interface for running Transact-SQL commands. |
Connecting from Windows
SQL Server tools on Windows connect to SQL Server instances on Linux in the same way they would connect to any remote SQL Server instance.
If you have a Windows machine that can connect to your Linux machine, try the same steps in this topic from a Windows command-prompt running sqlcmd. Just verify that you use the target Linux machine name or IP address rather than localhost, and make sure that TCP port 1433 is open. If you have any problems connecting from Windows, see connection troubleshooting recommendations.
For other tools that run on Windows but connect to SQL Server on Linux, see:
Other deployment scenarios
For other installation scenarios, see the following resources:
- Upgrade: Learn how to upgrade an existing installation of SQL Server on Linux
- Uninstall: Uninstall SQL Server on Linux
- Unattended install: Learn how to script the installation without prompts
- Offline install: Learn how to manually download the packages for offline installation
For answers to frequently asked questions, see the SQL Server on Linux FAQ.
Краткое руководство. Установка SQL Server и создание базы данных в SUSE Linux Enterprise Server Quickstart: Install SQL Server and create a database on SUSE Linux Enterprise Server
Применимо к: Applies to: SQL Server SQL Server (все поддерживаемые версии) SQL Server SQL Server (all supported versions) — Linux Применимо к: Applies to: SQL Server SQL Server (все поддерживаемые версии) SQL Server SQL Server (all supported versions) — Linux
В этом кратком руководстве вы установите SQL Server 2017 или SQL Server 2019 в SUSE Linux Enterprise Server (SLES) версии 12 с пакетом обновления 2 (SP2). In this quickstart, you install SQL Server 2017 or SQL Server 2019 on SUSE Linux Enterprise Server (SLES) v12 SP2. Затем вы подключитесь с помощью sqlcmd для создания первой базы данных и выполнения запросов. You then connect with sqlcmd to create your first database and run queries.
В этом кратком руководстве вы установите SQL Server 2019 в SUSE Linux Enterprise Server (SLES) версии 12. In this quickstart, you install SQL Server 2019 on SUSE Linux Enterprise Server (SLES) v12. Затем вы подключитесь с помощью sqlcmd для создания первой базы данных и выполнения запросов. You then connect with sqlcmd to create your first database and run queries.
SQL Server 2019 поддерживается в SUSE Enterprise Linux Server версии 12 с пакетом обновления 2, 3, 4 или 5 (SP2, SP3, SP4 или SP5). SQL Server 2019 is supported on SUSE Enterprise Linux Server v12 SP2, SP3, SP4 or SP5.
Для выполнения этого руководства требуется ввод данных пользователем и подключение к Интернету. This tutorial requires user input and an internet connection. Если вас интересуют процедуры автоматической или автономной установки, см. руководство по установке SQL Server на Linux. If you are interested in the unattended or offline installation procedures, see Installation guidance for SQL Server on Linux.
Предварительные требования Prerequisites
Требуется компьютер, на котором установлена ОС SLES версии 12 с пакетом обновления 2 (SP2) и имеется по крайней мере 2 ГБ памяти. You must have a SLES v12 SP2 machine with at least 2 GB of memory. Должна использоваться файловая система XFS или EXT4. The file system must be XFS or EXT4. Другие файловые системы, например BTRFS, не поддерживаются. Other file systems, such as BTRFS, are unsupported.
Требуется компьютер, на котором установлена ОС SLES версии 12 с пакетом обновления 2, 3, 4 или 5 (SP2, SP3, SP4 или SP5) и имеется по крайней мере 2 ГБ памяти. You must have a SLES v12 SP2, SP3, SP4 or SP5 machine with at least 2 GB of memory. Должна использоваться файловая система XFS или EXT4. The file system must be XFS or EXT4. Другие файловые системы, например BTRFS, не поддерживаются. Other file systems, such as BTRFS, are unsupported.
Чтобы установить SUSE Linux Enterprise Server на собственном компьютере, перейдите на страницу https://www.suse.com/products/server. To install SUSE Linux Enterprise Server on your own machine, go to https://www.suse.com/products/server. Можно также создать виртуальные машины SLES в Azure. You can also create SLES virtual machines in Azure. См. статью Создание виртуальных машин Linux и управление ими с помощью Azure CLI и используйте параметр —image SLES в вызове az vm create . See Create and Manage Linux VMs with the Azure CLI, and use —image SLES in the call to az vm create .
Если вы ранее установили выпуск CTP или RC сервера SQL Server, необходимо удалить старый репозиторий, прежде чем выполнять эти действия. If you have previously installed a CTP or RC release of SQL Server, you must first remove the old repository before following these steps. Дополнительные сведения см. в статье Настройка репозиториев Linux для SQL Server 2017 и 2019. For more information, see Configure Linux repositories for SQL Server 2017 and 2019.
В настоящее время подсистема Windows для Linux для Windows 10 не поддерживается в качестве цели установки. At this time, the Windows Subsystem for Linux for Windows 10 is not supported as an installation target.
Сведения о других требованиях к системе см. в статье Требования к системе для SQL Server на Linux. For other system requirements, see System requirements for SQL Server on Linux.
Установка SQL Server 2017 Install SQL Server 2017
Чтобы настроить SQL Server 2017 в SLES, выполните следующие команды в терминале для установки пакета mssql-server: To configure SQL Server 2017 on SLES, run the following commands in a terminal to install the mssql-server package:
Скачайте файл конфигурации репозитория Microsoft SQL Server 2017 SLES: Download the Microsoft SQL Server 2017 SLES repository configuration file:
Если вы хотите установить SQL Server 2019, необходимо зарегистрировать вместо этого репозиторий SQL Server 2019. If you want to install SQL Server 2019 , you must instead register the SQL Server 2019 repository. Используйте следующую команду для установки SQL Server 2019: Use the following command for SQL Server 2019 installations:
Обновите репозитории. Refresh your repositories.
Установите ключ подписывания пакета Майкрософт в системе, импортировав его с помощью следующей команды: To ensure that the Microsoft package signing key is installed on your system, please import it using the command below:
Выполните следующие команды для установки SQL Server: Run the following commands to install SQL Server:
Когда установка пакета завершится, выполните команду mssql-conf setup и следуйте указаниям, чтобы задать пароль системного администратора и выбрать выпуск. After the package installation finishes, run mssql-conf setup and follow the prompts to set the SA password and choose your edition.
Следующие выпуски SQL Server 2017 имеют бесплатные лицензии: Evaluation, Developer и Express. The following SQL Server 2017 editions are freely licensed: Evaluation, Developer, and Express.
Для учетной записи системного администратора необходимо установить надежный пароль (минимальная длина — 8 символов; должен содержать строчные и прописные буквы, десятичные цифры и (или) символы, отличные от букв и цифр). Make sure to specify a strong password for the SA account (Minimum length 8 characters, including uppercase and lowercase letters, base 10 digits and/or non-alphanumeric symbols).
По завершении настройки убедитесь в том, что служба работает. Once the configuration is done, verify that the service is running:
Если вы планируете подключаться удаленно, может потребоваться открыть в брандмауэре TCP-порт SQL Server (по умолчанию 1433). If you plan to connect remotely, you might also need to open the SQL Server TCP port (default 1433) on your firewall. Если вы используете брандмауэр SuSE, необходимо изменить файл конфигурации /etc/sysconfig/SuSEfirewall2. If you are using the SuSE firewall, you need to edit the /etc/sysconfig/SuSEfirewall2 configuration file. Измените запись FW_SERVICES_EXT_TCP, добавив номер порта SQL Server. Modify the FW_SERVICES_EXT_TCP entry to include the SQL Server port number.
В результате сервер SQL Server будет запущен на компьютере SLES и готов к использованию! At this point, SQL Server is running on your SLES machine and is ready to use!
Установка SQL Server 2019 Install SQL Server 2019
Чтобы настроить SQL Server 2019 в SLES, выполните следующие команды в терминале для установки пакета mssql-server: To configure SQL Server 2019 on SLES, run the following commands in a terminal to install the mssql-server package:
Скачайте файл конфигурации репозитория Microsoft SQL Server 2019 SLES: Download the Microsoft SQL Server 2019 SLES repository configuration file:
Обновите репозитории. Refresh your repositories.
Чтобы убедиться в том, что ключ подписывания пакета от Майкрософт установлен в системе, выполните следующую команду, чтобы импортировать ключ: To ensure that the Microsoft package signing key is installed on your system, use the following command to import the key:
Выполните следующие команды для установки SQL Server: Run the following commands to install SQL Server:
Когда установка пакета завершится, выполните команду mssql-conf setup и следуйте указаниям, чтобы задать пароль системного администратора и выбрать выпуск. After the package installation finishes, run mssql-conf setup and follow the prompts to set the SA password and choose your edition.
Для учетной записи системного администратора необходимо установить надежный пароль (минимальная длина — 8 символов; должен содержать строчные и прописные буквы, десятичные цифры и (или) символы, отличные от букв и цифр). Make sure to specify a strong password for the SA account (Minimum length 8 characters, including uppercase and lowercase letters, base 10 digits and/or non-alphanumeric symbols).
По завершении настройки убедитесь в том, что служба работает. Once the configuration is done, verify that the service is running:
Если вы планируете подключаться удаленно, может потребоваться открыть в брандмауэре TCP-порт SQL Server (по умолчанию 1433). If you plan to connect remotely, you might also need to open the SQL Server TCP port (default 1433) on your firewall. Если вы используете брандмауэр SuSE, необходимо изменить файл конфигурации /etc/sysconfig/SuSEfirewall2. If you are using the SuSE firewall, you need to edit the /etc/sysconfig/SuSEfirewall2 configuration file. Измените запись FW_SERVICES_EXT_TCP, добавив номер порта SQL Server. Modify the FW_SERVICES_EXT_TCP entry to include the SQL Server port number.
В результате сервер SQL Server 2019 будет запущен на компьютере SLES и готов к использованию! At this point, SQL Server 2019 is running on your SLES machine and is ready to use!
Установка программ командной строки SQL Server Install the SQL Server command-line tools
Чтобы создать базу данных, необходимо подключиться с помощью средства, которое позволяет выполнять инструкции Transact-SQL в SQL Server. To create a database, you need to connect with a tool that can run Transact-SQL statements on the SQL Server. Ниже приведены инструкции по установке программ командной строки SQL Server: sqlcmd и bcp. The following steps install the SQL Server command-line tools: sqlcmd and bcp.
Добавьте репозиторий Microsoft SQL Server в Zypper. Add the Microsoft SQL Server repository to Zypper.
Установите mssql-tools с помощью пакета разработчика unixODBC. Install mssql-tools with the unixODBC developer package. Дополнительные сведения см. в разделе Установка драйвера Microsoft ODBC для SQL Server (Linux). For more information, see Install the Microsoft ODBC driver for SQL Server (Linux).
Для удобства добавьте путь /opt/mssql-tools/bin/ в переменную среды PATH. For convenience, add /opt/mssql-tools/bin/ to your PATH environment variable. Это позволит запускать программы, не указывая полный путь. This enables you to run the tools without specifying the full path. Выполните следующие команды, чтобы изменить переменную среды PATH как для сеансов входа в систему, так и для интерактивных сеансов и сеансов без входа в систему. Run the following commands to modify the PATH for both login sessions and interactive/non-login sessions:
Локальное подключение Connect locally
В следующих шагах выполняется локальное подключение к новому экземпляру SQL Server с помощью sqlcmd. The following steps use sqlcmd to locally connect to your new SQL Server instance.
Запустите sqlcmd с параметрами имени вашего SQL Server (-S), имени пользователя (-U) и пароля (-P). Run sqlcmd with parameters for your SQL Server name (-S), the user name (-U), and the password (-P). В этом руководстве вы подключаетесь локально, поэтому имя сервера — localhost . In this tutorial, you are connecting locally, so the server name is localhost . Имя пользователя — SA , а пароль тот, что вы выбрали для учетной записи SA во время установки. The user name is SA and the password is the one you provided for the SA account during setup.
Вы можете не указывать пароль в командной строке. В этом случае вы получите запрос на его ввод. You can omit the password on the command line to be prompted to enter it.
Если вы в будущем захотите подключиться удаленно, укажите для параметра -S имя компьютера или IP-адрес и откройте в брандмауэре порт 1433. If you later decide to connect remotely, specify the machine name or IP address for the -S parameter, and make sure port 1433 is open on your firewall.
Если все сработает должным образом, вы перейдете к приглашению команды sqlcmd: 1> . If successful, you should get to a sqlcmd command prompt: 1> .
Если произойдет сбой подключения, сначала попробуйте узнать проблему по сообщению об ошибке. If you get a connection failure, first attempt to diagnose the problem from the error message. Затем ознакомьтесь с рекомендациями по устранению неполадок с подключением. Then review the connection troubleshooting recommendations.
Создание и запрос данных Create and query data
В следующих разделах приведено пошаговое руководство по созданию базы данных, добавлению данных и запуску простого запроса с использованием sqlcmd. The following sections walk you through using sqlcmd to create a new database, add data, and run a simple query.
Создание базы данных Create a new database
Выполните следующие шаги, чтобы создать базу данных TestDB . The following steps create a new database named TestDB .
В приглашении команды sqlcmd вставьте следующую команду Transact-SQL, чтобы создать тестовую базу данных: From the sqlcmd command prompt, paste the following Transact-SQL command to create a test database:
В следующей строке напишите запрос, который должен вернуть имена всех баз данных на сервере: On the next line, write a query to return the name of all of the databases on your server:
Две предыдущие команды были выполнены не сразу. The previous two commands were not executed immediately. Необходимо ввести GO на новой строке, чтобы выполнить предыдущие команды: You must type GO on a new line to execute the previous commands:
Подробнее о написании инструкций и запросов на языке Transact-SQL см. учебник Tutorial: Writing Transact-SQL Statements. To learn more about writing Transact-SQL statements and queries, see Tutorial: Writing Transact-SQL Statements.
Добавление данных Insert data
Теперь создайте таблицу Inventory и вставьте две новых строки. Next create a new table, Inventory , and insert two new rows.
В приглашении команды sqlcmd переключите контекст на новую базу данных TestDB : From the sqlcmd command prompt, switch context to the new TestDB database:
Создайте таблицу Inventory : Create new table named Inventory :
Вставьте данные в новую таблицу: Insert data into the new table:
Введите GO , чтобы выполнить предыдущие команды: Type GO to execute the previous commands:
Выбор данных Select data
Теперь выполните запрос, чтобы вернуть данные из таблицы Inventory . Now, run a query to return data from the Inventory table.
В приглашении команды sqlcmd введите запрос, который должен вернуть из таблицы Inventory строки, где количество превышает 152: From the sqlcmd command prompt, enter a query that returns rows from the Inventory table where the quantity is greater than 152:
Выполните команду: Execute the command:
Выход из приглашения команды sqlcmd Exit the sqlcmd command prompt
Чтобы завершить сеанс sqlcmd, введите QUIT : To end your sqlcmd session, type QUIT :
Оптимальные методы повышения производительности Performance best practices
После установки SQL Server на Linux ознакомьтесь с рекомендациями по настройке Linux и SQL Server для обеспечения оптимальной производительности в рабочих сценариях. After installing SQL Server on Linux, review the best practices for configuring Linux and SQL Server to improve performance for production scenarios. Дополнительные сведения см. в статье Рекомендации по производительности и конфигурации для SQL Server на Linux. For more information, see Performance best practices and configuration guidelines for SQL Server on Linux.
Кроссплатформенные средства работы с данными Cross-platform data tools
Помимо sqlcmd вы можете использовать следующие кроссплатформенные средства для управления SQL Server: In addition to sqlcmd, you can use the following cross-platform tools to manage SQL Server:
Средство Tool | Описание Description |
---|---|
Azure Data Studio Azure Data Studio | Кроссплатформенная служебная программа управления базами данных с графическим пользовательским интерфейсом. A cross-platform GUI database management utility. |
Visual Studio Code Visual Studio Code | Кроссплатформенный редактор кода с графическим пользовательским интерфейсом, позволяющий выполнять инструкции Transact-SQL в выражениях mssql. A cross-platform GUI code editor that run Transact-SQL statements with the mssql extension. |
PowerShell Core PowerShell Core | Кроссплатформенное средство для автоматизации и настройки на основе командлетов. A cross-platform automation and configuration tool based on cmdlets. |
mssql-cli mssql-cli | Кроссплатформенный интерфейс командной строки для выполнения команд Transact-SQL. A cross-platform command-line interface for running Transact-SQL commands. |
Подключение из Windows Connecting from Windows
Инструменты SQL Server в Windows подключаются к экземплярам SQL Server в Linux так же, как они подключались бы к любому удаленному экземпляру SQL Server. SQL Server tools on Windows connect to SQL Server instances on Linux in the same way they would connect to any remote SQL Server instance.
Если у вас компьютер с ОС Windows, который может подключаться к компьютеру с ОС Linux, попробуйте выполнить те же действия этого раздела в командной строке Windows, запустив sqlcmd. If you have a Windows machine that can connect to your Linux machine, try the same steps in this topic from a Windows command-prompt running sqlcmd. Главное при этом — использовать имя или IP-адрес целевого компьютера с ОС Linux, а не localhost, и открыть TCP-порт 1433. Just verify that you use the target Linux machine name or IP address rather than localhost, and make sure that TCP port 1433 is open. Если у вас возникли проблемы с подключением из Windows, см. рекомендации по устранению неполадок с подключением. If you have any problems connecting from Windows, see connection troubleshooting recommendations.
Другие инструменты, которые запускаются в Windows, но подключаются к SQL Server на Linux: For other tools that run on Windows but connect to SQL Server on Linux, see:
Другие сценарии развертывания Other deployment scenarios
По другим сценариям установки доступны следующие ресурсы. For other installation scenarios, see the following resources:
- Обновление: Узнайте, как обновить установленную среду SQL Server на Linux Upgrade: Learn how to upgrade an existing installation of SQL Server on Linux
- Uninstall: Удаление SQL Server на Linux Uninstall: Uninstall SQL Server on Linux
- Автоматическая установка. Узнайте, как создать сценарий для установки без каких-либо запросов Unattended install: Learn how to script the installation without prompts
- Автономная установка. Узнайте, как вручную загрузить пакеты для установки в автономном режиме Offline install: Learn how to manually download the packages for offline installation
Ответы на часто задаваемые вопросы об SQL Server на Linux см. в этой статье. For answers to frequently asked questions, see the SQL Server on Linux FAQ.