Skip to content

Commit 0f97c56

Browse files
Merge pull request #522 from pietdaniel/master
[documentation] add docs on port configuration
2 parents 6509aa2 + 06423be commit 0f97c56

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

doc/usage_guide.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@ Connect to a server, a specific database, and with a username. -S -d and -U are
7878
mssql-cli -S localhost -d AdventureWorks -U sa
7979
```
8080
81+
If the server is using a nonstandard port (1433) you can specify a port via the following invocation:
82+
83+
```bash
84+
mssql-cli -S "localhost,42069" -d AdventureWorks -U sa
85+
```
86+
8187
### Exit mssql-cli
8288
Press **Ctrl+D** or type `quit`.
8389
@@ -283,4 +289,4 @@ pager=pypager
283289
```
284290
285291
## Troubleshooting
286-
If you encounter any issues, see the [troubleshooting](troubleshooting_guide.md) section for known issues and workarounds.
292+
If you encounter any issues, see the [troubleshooting](troubleshooting_guide.md) section for known issues and workarounds.

0 commit comments

Comments
 (0)