You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this quickstart, you will install SQL Server 2017 on Red Hat Enterprise Linux (RHEL), SUSE Linux Enterprise Server (SLES), or Ubuntu in the cloud of your choice. Go to [Provision a Linux SQL Server virtual machine in the Azure portal](https://docs.microsoft.com/azure/virtual-machines/linux/sql/provision-sql-server-linux-virtual-machine?toc=%2fsql%2flinux%2ftoc.json) to run SQL Server on Linux in Azure.
19
+
In this quickstart, you will install SQL Server on Red Hat Enterprise Linux (RHEL), SUSE Linux Enterprise Server (SLES), or Ubuntu in the cloud of your choice. Go to [Provision a Linux SQL Server virtual machine in the Azure portal](https://docs.microsoft.com/azure/virtual-machines/linux/sql/provision-sql-server-linux-virtual-machine?toc=%2fsql%2flinux%2ftoc.json) to run SQL Server on Linux in Azure.
20
20
21
21
> [!NOTE]
22
22
> If you choose to run a paid edition of SQL Server then you need to bring your own license (BYOL)
|**ACCEPT_EULA**| Accept the SQL Server license agreement when set to any value (for example, 'Y'). |
47
+
|**MSSQL_SA_PASSWORD**| Configure the SA user password. |
48
+
|**MSSQL_PID**| Set the SQL Server edition or product key. Possible values include: </br></br>**Evaluation**</br>**Developer**</br>**Express**</br>**Web**</br>**Standard**</br>**Enterprise**</br>**A product key**</br></br>If specifying a product key, it must be in the form of #####-#####-#####-#####-#####, where '#' is a number or a letter.|
49
+
|**MSSQL_LCID**| Sets the language ID to use for SQL Server. For example 1036 is French. |
50
+
|**MSSQL_COLLATION**| Sets the default collation for SQL Server. This overrides the default mapping of language id (LCID) to collation. |
51
+
|**MSSQL_MEMORY_LIMIT_MB**| Sets the maximum amount of memory (in MB) that SQL Server can use. By default it is 80% of the total physical memory. |
52
+
|**MSSQL_TCP_PORT**| Configure the TCP port that SQL Server listens on (default 1433). |
53
+
|**MSSQL_IP_ADDRESS**| Set the IP address. Currently, the IP address must be IPv4 style (0.0.0.0). |
54
+
|**MSSQL_BACKUP_DIR**| Set the Default backup directory location. |
55
+
|**MSSQL_DATA_DIR**| Change the directory where the new SQL Server database data files (.mdf) are created. |
56
+
|**MSSQL_LOG_DIR**| Change the directory where the new SQL Server database log (.ldf) files are created. |
57
+
|**MSSQL_DUMP_DIR**| Change the directory where SQL Server will deposit the memory dumps and other troubleshooting files by default. |
58
+
|**MSSQL_ENABLE_HADR**| Enable Availability Group. For example, '1' is enabled, and '0' is disabled |
59
+
|**MSSQL_AGENT_ENABLED**| Enable SQL Server Agent. For example, 'true' is enabled and 'false' is disabled. By default, agent is disabled. |
60
+
|**MSSQL_MASTER_DATA_FILE**| Sets the location of the master database data file. |
61
+
|**MSSQL_MASTER_LOG_FILE**| Sets the location of the master database log file. |
62
+
|**MSSQL_ERROR_LOG_FILE**| Sets the location of the errorlog files. |
You can create applications that connect to and use SQL Server 2017 on Linux from a variety of programming languages, such as C#, Java, Node.js, PHP, Python, Ruby, and C++. You can also use popular web frameworks and Object Relational Mapping (ORM) frameworks.
20
+
You can create applications that connect to and use SQL Server on Linux from a variety of programming languages, such as C#, Java, Node.js, PHP, Python, Ruby, and C++. You can also use popular web frameworks and Object Relational Mapping (ORM) frameworks.
@@ -33,19 +33,19 @@ The best way to get started and build applications with SQL Server is to try it
33
33
- Try the code samples.
34
34
35
35
> [!TIP]
36
-
> If you want to develop for SQL Server 2017 on Docker, take a look at the **macOS** tutorials.
36
+
> If you want to develop for SQL Server on Docker, take a look at the **macOS** tutorials.
37
37
38
38
## Create new applications
39
39
40
40
If you're creating a new application, take a look at a list of the [Connectivity libraries](sql-server-linux-develop-connectivity-libraries.md) for a summary of the connectors and popular frameworks available for various programming languages.
41
41
42
42
## Use existing applications
43
43
44
-
If you have an existing database application, you can simply change its connection string to target SQL Server 2017 on Linux. Make sure to read about the [Known Issues](sql-server-linux-release-notes.md) in SQL Server 2017 on Linux.
44
+
If you have an existing database application, you can simply change its connection string to target SQL Server on Linux. Make sure to read about the [Known Issues](sql-server-linux-release-notes.md) in SQL Server on Linux.
45
45
46
46
## Use existing SQL tools on Windows with SQL Server on Linux
47
47
48
-
Tools that currently run on Windows such as SSMS, SSDT, and PowerShell, also work with SQL Server 2017 on Linux. Although they do not run natively on Linux, you can still manage remote SQL Server instances on Linux.
48
+
Tools that currently run on Windows such as SSMS, SSDT, and PowerShell, also work with SQL Server on Linux. Although they do not run natively on Linux, you can still manage remote SQL Server instances on Linux.
Copy file name to clipboardExpand all lines: docs/linux/sql-server-linux-develop-use-ssdt.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ SQL Server Data Tools (SSDT) turns Visual Studio into a powerful development and
34
34
35
35
## Upgrade SQL Server Data Tools to SSDT 17.0 RC release
36
36
37
-
SQL Server 2017 on Linux is supported by SSDT version 17.0 RC or later.
37
+
SQL Server on Linux is supported by SSDT version 17.0 RC or later.
38
38
39
39
*[Download and Install SSDT 17.0 RC2](https://go.microsoft.com/fwlink/?linkid=837939).
40
40
@@ -74,13 +74,13 @@ SQL Server 2017 on Linux is supported by SSDT version 17.0 RC or later.
74
74
75
75
## Build and validate the database
76
76
77
-
1. Open the database project menu on **TutorialDB** and select **Build**. SSDT compiles .sql source code files in your project and builds a Data-tier Application package (dacpac) file. This can be used to publish a database to your SQL Server 2017 instance on Linux.
77
+
1. Open the database project menu on **TutorialDB** and select **Build**. SSDT compiles .sql source code files in your project and builds a Data-tier Application package (dacpac) file. This can be used to publish a database to your SQL Server instance on Linux.
Copy file name to clipboardExpand all lines: docs/linux/sql-server-linux-faq.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ The following sections provide common questions and answers for SQL Server runni
55
55
56
56
No. Linux running on Windows 10 is currently not a supported platform for SQL Server and related tools.
57
57
58
-
1.**Which Linux file systems can SQL Server 2017 use for data files?**
58
+
1.**Which Linux file systems can SQL Server use for data files?**
59
59
60
60
Currently SQL Server on Linux supports ext4 and XFS. Support for other file systems will be added as needed in the future.
61
61
@@ -120,7 +120,7 @@ The following sections provide common questions and answers for SQL Server runni
120
120
121
121
1.**Can I migrate my data from Oracle and other database engines to SQL Server on Linux?**
122
122
123
-
Yes. SSMA supports migration from several types of database engines: Microsoft Access, DB2, MySQL, Oracle, and SAP ASE (formerly SAP Sybase ASE). For an example of how to use SSMA, see [Migrate an Oracle schema to SQL Server 2017 on Linux with the SQL Server Migration Assistant](../ssma/oracle/sql-server-linux-convert-from-oracle.md?toc=%2fsql%2flinux%2ftoc.json).
123
+
Yes. SSMA supports migration from several types of database engines: Microsoft Access, DB2, MySQL, Oracle, and SAP ASE (formerly SAP Sybase ASE). For an example of how to use SSMA, see [Migrate an Oracle schema to SQL Server on Linux with the SQL Server Migration Assistant](../ssma/oracle/sql-server-linux-convert-from-oracle.md?toc=%2fsql%2flinux%2ftoc.json).
124
124
125
125
1.**What permissions are required for SQL Server files?**
This article introduces [SQL Server PowerShell](https://msdn.microsoft.com/library/mt740629.aspx) and walks you through a couple of examples on how to use it with SQL Server 2017 on Linux. PowerShell support for SQL Server is currently available on Windows, so you can use it when you have a Windows machine that can connect to a remote SQL Server instance on Linux.
20
+
This article introduces [SQL Server PowerShell](https://msdn.microsoft.com/library/mt740629.aspx) and walks you through a couple of examples on how to use it with SQL Server on Linux. PowerShell support for SQL Server is currently available on Windows, so you can use it when you have a Windows machine that can connect to a remote SQL Server instance on Linux.
21
21
22
22
## Install the newest version of SQL PowerShell on Windows
23
23
24
-
[SQL PowerShell](https://msdn.microsoft.com/library/mt740629.aspx) on Windows is included with [SQL Server Management Studio (SSMS)](../ssms/sql-server-management-studio-ssms.md). When working with SQL Server, you should always use the most recent version of SSMS and SQL PowerShell. The latest version of SSMS is continually updated and optimized and currently works with SQL Server 2017 on Linux. To download and install the latest version, see [Download SQL Server Management Studio](../ssms/download-sql-server-management-studio-ssms.md). To stay up-to-date, the latest version of SSMS prompts you when there is a new version available to download.
24
+
[SQL PowerShell](https://msdn.microsoft.com/library/mt740629.aspx) on Windows is included with [SQL Server Management Studio (SSMS)](../ssms/sql-server-management-studio-ssms.md). When working with SQL Server, you should always use the most recent version of SSMS and SQL PowerShell. The latest version of SSMS is continually updated and optimized and currently works with SQL Server on Linux. To download and install the latest version, see [Download SQL Server Management Studio](../ssms/download-sql-server-management-studio-ssms.md). To stay up-to-date, the latest version of SSMS prompts you when there is a new version available to download.
25
25
26
26
## Before you begin
27
27
28
-
Read the [Known Issues](sql-server-linux-release-notes.md) for SQL Server 2017 on Linux.
28
+
Read the [Known Issues](sql-server-linux-release-notes.md) for SQL Server on Linux.
29
29
30
30
## Launch PowerShell and import the *sqlserver* module
## Connect to SQL Server and get server information
62
62
63
-
Let's use PowerShell on Windows to connect to your SQL Server 2017 instance on Linux and display a couple of server properties.
63
+
Let's use PowerShell on Windows to connect to your SQL Server instance on Linux and display a couple of server properties.
64
64
65
65
Copy and paste the following commands at the PowerShell prompt. When you run these commands, PowerShell will:
66
-
- Display the *Windows PowerShell credential request* dialog that prompts you for the credentials (*SQL username* and *SQL password*) to connect to your SQL Server 2017 instance on Linux
66
+
- Display the *Windows PowerShell credential request* dialog that prompts you for the credentials (*SQL username* and *SQL password*) to connect to your SQL Server instance on Linux
67
67
- Load the SQL Server Management Objects (SMO) assembly
68
68
- Create an instance of the [Server](https://msdn.microsoft.com/library/microsoft.sqlserver.management.smo.server.aspx) object
69
69
- Connect to the **Server** and display a few properties
70
70
71
-
Remember to replace **\<your_server_instance\>** with the IP address or the hostname of your SQL Server 2017 instance on Linux.
71
+
Remember to replace **\<your_server_instance\>** with the IP address or the hostname of your SQL Server instance on Linux.
72
72
73
73
```powershell
74
74
# Prompt for credentials to login into SQL Server
@@ -101,14 +101,14 @@ HostDistribution : Ubuntu
101
101
102
102
## Examine SQL Server error logs
103
103
104
-
Let's use PowerShell on Windows to examine error logs connect on your SQL Server 2017 instance on Linux. We will also use the **Out-GridView** cmdlet to show information from the error logs in a grid view display.
104
+
Let's use PowerShell on Windows to examine error logs connect on your SQL Server instance on Linux. We will also use the **Out-GridView** cmdlet to show information from the error logs in a grid view display.
105
105
106
106
Copy and paste the following commands at the PowerShell prompt. They might take a few minutes to run. These commands do the following:
107
-
- Display the *Windows PowerShell credential request* dialog that prompts you for the credentials (*SQL username* and *SQL password*) to connect to your SQL Server 2017 instance on Linux
108
-
- Use the **Get-SqlErrorLog** cmdlet to connect to the SQL Server 2017 instance on Linux and retrieve error logs since **Yesterday**
107
+
- Display the *Windows PowerShell credential request* dialog that prompts you for the credentials (*SQL username* and *SQL password*) to connect to your SQL Server instance on Linux
108
+
- Use the **Get-SqlErrorLog** cmdlet to connect to the SQL Server instance on Linux and retrieve error logs since **Yesterday**
109
109
- Pipe the output to the **Out-GridView** cmdlet
110
110
111
-
Remember to replace **\<your_server_instance\>** with the IP address or the hostname of your SQL Server 2017 instance on Linux.
111
+
Remember to replace **\<your_server_instance\>** with the IP address or the hostname of your SQL Server instance on Linux.
0 commit comments