MS SQL: Support port with sqlsrc
This commit is contained in:
parent
733fe9e430
commit
84c65fcca6
|
@ -24,7 +24,7 @@ if (isset($_GET["mssql"])) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function connect($server, $username, $password) {
|
function connect($server, $username, $password) {
|
||||||
$this->_link = @sqlsrv_connect($server, array("UID" => $username, "PWD" => $password, "CharacterSet" => "UTF-8"));
|
$this->_link = @sqlsrv_connect(preg_replace('~:~', ',', $server), array("UID" => $username, "PWD" => $password, "CharacterSet" => "UTF-8"));
|
||||||
if ($this->_link) {
|
if ($this->_link) {
|
||||||
$info = sqlsrv_server_info($this->_link);
|
$info = sqlsrv_server_info($this->_link);
|
||||||
$this->server_info = $info['SQLServerVersion'];
|
$this->server_info = $info['SQLServerVersion'];
|
||||||
|
|
|
@ -9,6 +9,7 @@ MySQL: Use CONVERT() only when searching for non-ASCII (bug #603)
|
||||||
PostgreSQL: Add SQL operator to search
|
PostgreSQL: Add SQL operator to search
|
||||||
PostgreSQL: Fix editing data in views (bug #605, regression from 4.6.0)
|
PostgreSQL: Fix editing data in views (bug #605, regression from 4.6.0)
|
||||||
PostgreSQL: Do not cast date/time/number/uuid searches to text (bug #608)
|
PostgreSQL: Do not cast date/time/number/uuid searches to text (bug #608)
|
||||||
|
MS SQL: Support port with sqlsrc
|
||||||
Editor: Do not check boolean checkboxes with false in PostgreSQL (bug #607)
|
Editor: Do not check boolean checkboxes with false in PostgreSQL (bug #607)
|
||||||
|
|
||||||
Adminer 4.6.2 (released 2018-02-20):
|
Adminer 4.6.2 (released 2018-02-20):
|
||||||
|
|
Loading…
Reference in a new issue