X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Finstaller%2FMssqlInstaller.php;h=d6efeb2deb42c839aa7c067e4741efbd8009bd24;hp=c5ec72b03f91a60957244ea48fde204a16be96c7;hb=49748181dd56ec97e7ba7c13e684a16abceb3cc0;hpb=5b66e4504dd543faa3a85d4a0a88daca991c223d 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