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
Copy file name to clipboardExpand all lines: docs/linux/sql-server-linux-configure-mssql-conf.md
+11-10Lines changed: 11 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Configure SQL Server Settings on Linux
3
3
description: This article describes how to use the mssql-conf tool to configure SQL Server settings on Linux.
4
4
author: rwestMSFT
5
5
ms.author: randolphwest
6
-
ms.date: 01/02/2026
6
+
ms.date: 01/13/2026
7
7
ms.service: sql
8
8
ms.subservice: linux
9
9
ms.topic: install-set-up-deploy
@@ -33,8 +33,8 @@ ms.custom:
33
33
|[Collation](#collation)| Set a new collation for [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] on Linux. |
34
34
|[Customer feedback](#customerfeedback)| Choose whether or not [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] sends feedback to Microsoft. |
35
35
|[Database Mail Profile](#dbmail)| Set the default database mail profile for [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] on Linux. |
36
-
|[Default data directory](#datadir)| Change the default directory for new [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] database data files (.mdf). |
37
-
|[Default log directory](#datadir)| Changes the default directory for new [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] database log (.ldf) files. |
36
+
|[Default data directory](#datadir)| Change the default directory for new [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] database data files (`.mdf`). |
37
+
|[Default log directory](#datadir)| Changes the default directory for new [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] database log files (`.ldf`). |
38
38
|[Default master database directory](#masterdatabasedir)| Changes the default directory for the `master` database and log files. |
39
39
|[Default master database file name](#masterdatabasename)| Changes the name of `master` database files. |
40
40
|[Default dump directory](#dumpdir)| Change the default directory for new memory dumps and other troubleshooting files. |
@@ -63,8 +63,8 @@ ms.custom:
63
63
|[Collation](#collation)| Set a new collation for [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] on Linux. |
64
64
|[Customer feedback](#customerfeedback)| Choose whether or not [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] sends feedback to Microsoft. |
65
65
|[Database Mail Profile](#dbmail)| Set the default database mail profile for [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] on Linux. |
66
-
|[Default data directory](#datadir)| Change the default directory for new [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] database data files (.mdf). |
67
-
|[Default log directory](#datadir)| Changes the default directory for new [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] database log (.ldf) files. |
66
+
|[Default data directory](#datadir)| Change the default directory for new [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] database data files (`.mdf`). |
67
+
|[Default log directory](#datadir)| Changes the default directory for new [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] database log files (`.ldf`). |
68
68
|[Default master database file directory](#masterdatabasedir)| Changes the default directory for the `master` database files on existing SQL installation. |
69
69
|[Default master database file name](#masterdatabasename)| Changes the name of `master` database files. |
70
70
|[Default dump directory](#dumpdir)| Change the default directory for new memory dumps and other troubleshooting files. |
@@ -96,8 +96,8 @@ ms.custom:
96
96
|[Collation](#collation)| Set a new collation for [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] on Linux. |
97
97
|[Customer feedback](#customerfeedback)| Choose whether or not [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] sends feedback to Microsoft. |
98
98
|[Database Mail Profile](#dbmail)| Set the default database mail profile for [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] on Linux. |
99
-
|[Default data directory](#datadir)| Change the default directory for new [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] database data files (.mdf). |
100
-
|[Default log directory](#datadir)| Changes the default directory for new [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] database log (.ldf) files. |
99
+
|[Default data directory](#datadir)| Change the default directory for new [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] database data files (`.mdf`). |
100
+
|[Default log directory](#datadir)| Changes the default directory for new [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] database log files (`.ldf`). |
101
101
|[Default master database file directory](#masterdatabasedir)| Changes the default directory for the `master` database files on existing SQL installation. |
102
102
|[Default master database file name](#masterdatabasename)| Changes the name of `master` database files. |
103
103
|[Default dump directory](#dumpdir)| Change the default directory for new memory dumps and other troubleshooting files. |
|[Customer feedback](#customerfeedback)| Choose whether or not [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] sends feedback to Microsoft. |
134
134
|[Database Mail Profile](#dbmail)| Set the default database mail profile for [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] on Linux. |
135
-
|[Default data directory](#datadir)| Change the default directory for new [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] database data files (.mdf). |
136
-
|[Default log directory](#datadir)| Changes the default directory for new [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] database log (.ldf) files. |
135
+
|[Default data directory](#datadir)| Change the default directory for new [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] database data files (`.mdf`). |
136
+
|[Default log directory](#datadir)| Changes the default directory for new [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] database log files (`.ldf`). |
137
137
|[Default master database file directory](#masterdatabasedir)| Changes the default directory for the `master` database files on existing SQL installation. |
138
138
|[Default master database file name](#masterdatabasename)| Changes the name of `master` database files. |
139
139
|[Default dump directory](#dumpdir)| Change the default directory for new memory dumps and other troubleshooting files. |
@@ -408,7 +408,7 @@ The `filelocation.defaultdatadir` and `filelocation.defaultlogdir` settings chan
408
408
sudo systemctl restart mssql-server
409
409
```
410
410
411
-
1. Now all the database files for the new databases created are stored in this new location. If you would like to change the location of the log (.ldf) files of the new databases, you can use the following `set` command:
411
+
1. Now all the database files for the new databases created are stored in this new location. If you would like to change the location of the transaction log files (`.ldf`) of the new databases, you can use the following `set` command:
412
412
413
413
```bash
414
414
sudo /opt/mssql/bin/mssql-conf set filelocation.defaultlogdir /tmp/log
@@ -910,6 +910,7 @@ The following options configure TLS for an instance of [!INCLUDE [ssnoversion-md
910
910
| Option | Description |
911
911
| --- | --- |
912
912
|`network.forceencryption`| If 1, then [!INCLUDE [ssNoVersion](../includes/ssnoversion-md.md)] forces all connections to be encrypted. By default, this option is 0. |
913
+
|`network.forcestrict`| If 1, then [!INCLUDE [ssNoVersion](../includes/ssnoversion-md.md)] enforces [strict encryption](../relational-databases/security/networking/tds-8.md#strict-connection-encryption) on all endpoints. By default, this option is 0.<br /><br />**Applies to**: [!INCLUDE [sssql25-md](../includes/sssql25-md.md)] and later versions. |
913
914
|`network.tlscert`| The absolute path to the certificate file that [!INCLUDE [ssNoVersion](../includes/ssnoversion-md.md)] uses for TLS. Example: `/etc/ssl/certs/mssql.pem` The certificate file must be accessible by the mssql account. Microsoft recommends restricting access to the file using `chown mssql:mssql <file>; chmod 400 <file>`. |
914
915
|`network.tlskey`| The absolute path to the private key file that [!INCLUDE [ssNoVersion](../includes/ssnoversion-md.md)] uses for TLS. Example: `/etc/ssl/private/mssql.key` The certificate file must be accessible by the mssql account. Microsoft recommends restricting access to the file using `chown mssql:mssql <file>; chmod 400 <file>`. |
915
916
|`network.tlsprotocols`| A comma-separated list of which TLS protocols are allowed by [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)]. [!INCLUDE [ssNoVersion](../includes/ssnoversion-md.md)] always attempts to negotiate the strongest allowed protocol. If a client doesn't support any allowed protocol, [!INCLUDE [ssNoVersion](../includes/ssnoversion-md.md)] rejects the connection attempt. For compatibility, all supported protocols are allowed by default (1.2, 1.1, 1.0). If your clients support TLS 1.2, Microsoft recommends allowing only TLS 1.2. |
0 commit comments