X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FMssqlInstaller.php;h=d6efeb2deb42c839aa7c067e4741efbd8009bd24;hb=9b0cfff5aa4d6cf1ba23e0a333e081a928a720ab;hp=c5ec72b03f91a60957244ea48fde204a16be96c7;hpb=53779578b44575ef91feb3fad488f09b52f737d7;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/MssqlInstaller.php b/includes/installer/MssqlInstaller.php index c5ec72b03f..d6efeb2deb 100644 --- a/includes/installer/MssqlInstaller.php +++ b/includes/installer/MssqlInstaller.php @@ -214,6 +214,7 @@ class MssqlInstaller extends DatabaseInstaller { try { $db = Database::factory( 'mssql', [ 'host' => $this->getVar( 'wgDBserver' ), + 'port' => $this->getVar( 'wgDBport' ), 'user' => $user, 'password' => $password, 'dbname' => false, @@ -282,7 +283,7 @@ class MssqlInstaller extends DatabaseInstaller { // Check to ensure we can grant everything needed as well // We can't actually tell if we have WITH GRANT OPTION for a given permission, so we assume we do // and just check for the permission - // http://technet.microsoft.com/en-us/library/ms178569.aspx + // https://technet.microsoft.com/en-us/library/ms178569.aspx // The following array sets up which permissions imply whatever permissions we specify $implied = [ // schema database server