File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
user_guide_src/source/database Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ public function connect(bool $persistent = false)
121
121
unset($ connection ['UID ' ], $ connection ['PWD ' ]);
122
122
}
123
123
124
- if (strpos ($ this ->hostname , ', ' ) === false && $ this ->port !== '' && ( int ) $ this -> port !== 1433 ) {
124
+ if (strpos ($ this ->hostname , ', ' ) === false && $ this ->port !== '' ) {
125
125
$ this ->hostname .= ', ' . $ this ->port ;
126
126
}
127
127
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ Explanation of Values:
174
174
**compress ** Whether or not to use client compression (``MySQLi `` only).
175
175
**strictOn ** true/false (boolean) - Whether to force "Strict Mode" connections, good for ensuring strict SQL
176
176
while developing an application (``MySQLi `` only).
177
- **port ** The database port number.
177
+ **port ** The database port number - Empty for default port (or dynamic port with `` SQLSRV ``)
178
178
**foreignKeys ** true/false (boolean) - Whether or not to enable Foreign Key constraint (``SQLite3 `` only).
179
179
180
180
.. important:: SQLite3 Foreign Key constraint is disabled by default.
You can’t perform that action at this time.
0 commit comments