mirror of
https://github.com/vrana/adminer.git
synced 2025-08-17 20:01:25 +02:00
MS SQL: Support port with sqlsrc
This commit is contained in:
@@ -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):
|
||||||
|
Reference in New Issue
Block a user