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/advanced-analytics/python/what-is-revoscalepy.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
@@ -119,7 +119,7 @@ You can run code that includes **revoscalepy** functions either locally or in a
119
119
120
120
When running locally, you typically run a Python script from the command line, or from a Python development environment, and specify a SQL Server compute context using one of the **revoscalepy** functions. You can use the remote compute context for the entire code, or for individual functions. For example, you might want to offload model training to the server to use the latest data and avoid data movement.
121
121
122
-
If you want to put a complete Python script inside the stored procedure, [sp_execute_external_script](https://docs.microsoft.com/sql/relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql), we recommend that you rewrite the code as a single function that has clearly defined inputs and outputs. Inputs and outputs must be **pandas** data frames. When this is done, you can call the stored procedure from any client that supports T-SQL, easily pass SQL queries as inputs, and save the results to SQL tables. For an example, see [In-Database Python Analytics for L Developers](../tutorials/sqldev-in-database-python-for-sql-developers.md).
122
+
If you want to put a complete Python script inside the stored procedure, [sp_execute_external_script](https://docs.microsoft.com/sql/relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql), we recommend that you rewrite the code as a single function that has clearly defined inputs and outputs. Inputs and outputs must be **pandas** data frames. When this is done, you can call the stored procedure from any client that supports T-SQL, easily pass SQL queries as inputs, and save the results to SQL tables. For an example, see [In-Database Python Analytics for SQL Developers](../tutorials/sqldev-in-database-python-for-sql-developers.md).
123
123
124
124
### Using remote compute contexts
125
125
@@ -165,4 +165,4 @@ If you use Python Tools for Visual Studio, you can use IntelliSense to get synta
Copy file name to clipboardExpand all lines: docs/database-engine/configure-windows/database-engine-service-startup-options.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,8 @@ ms.workload: "On Demand"
29
29
30
30
> [!WARNING]
31
31
> Improper use of startup options can affect server performance and can prevent [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] from starting.
32
+
>
33
+
> Start SQL Server on Linux with the "mssql" user to prevent future startup issues. Example "sudo -u mssql /opt/mssql/bin/sqlservr [STARTUP OPTIONS]"
32
34
33
35
## About Startup Options
34
36
When you install [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], Setup writes a set of default startup options in the [!INCLUDE[msCoName](../../includes/msconame-md.md)] Windows registry. You can use these startup options to specify an alternate master database file, master database log file, or error log file. If the [!INCLUDE[ssDE](../../includes/ssde-md.md)] cannot locate the necessary files, [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] will not start.
Copy file name to clipboardExpand all lines: docs/linux/sql-server-linux-troubleshooting-guide.md
+32-1Lines changed: 32 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -115,6 +115,37 @@ For SQL dumps
115
115
```bash
116
116
sudo ls /var/opt/mssql/log | grep .mdmp
117
117
```
118
+
119
+
## Start SQL Server in Minimal Configuration or in Single User Mode
120
+
121
+
### Start SQL Server in Minimal Configuration Mode
122
+
This is useful if the setting of a configuration value (for example, over-committing memory) has prevented the server from starting.
123
+
124
+
```bash
125
+
sudo -u mssql /opt/mssql/bin/sqlservr -f
126
+
```
127
+
128
+
### Start SQL Server in Single User Mode
129
+
Under certain circumstances, you may have to start an instance of SQL Server in single-user mode by using the startup option -m. For example, you may want to change server configuration options or recover a damaged master database or other system database. For example, you may want to change server configuration options or recover a damaged master database or other system database
130
+
131
+
Start SQL Server in Single User Mode
132
+
```bash
133
+
sudo -u mssql /opt/mssql/bin/sqlservr -m
134
+
```
135
+
136
+
Start SQL Server in Single User Mode with SQLCMD
137
+
```bash
138
+
sudo -u mssql /opt/mssql/bin/sqlservr -m SQLCMD
139
+
```
140
+
141
+
> [!WARNING]
142
+
> Start SQL Server on Linux with the "mssql" user to prevent future startup issues. Example "sudo -u mssql /opt/mssql/bin/sqlservr [STARTUP OPTIONS]"
143
+
144
+
If you have accidentally started SQL Server with another user, you will need to change ownership of SQL Server database files back to the 'mssql' user prior to starting SQL Server with systemd. For example, to change ownership of all database files under /var/opt/mssql to the 'mssql' user, run the following command
145
+
146
+
```bash
147
+
chown -R mssql:mssql /var/opt/mssql/
148
+
```
118
149
119
150
## Common issues
120
151
@@ -168,4 +199,4 @@ Support is available through the community and monitored by the engineering team
168
199
- [Stack Overflow](http://stackoverflow.com/questions/tagged/sql-server): Ask development questions
0 commit comments