When installing MediaWiki 1.27.1 with SQL Server 2014 Express, one error occurs:
Query:
CREATE INDEX oi_name_archive_name ON [mediawiki].[oldimage] (oi_name,oi_archive_name)
Function: DatabaseBase::sourceFile( C:\inetpub\AglWiki/maintenance/mssql/tables.sql )
Error:
1945 [SQLSTATE 01000][Error Code 1945][Microsoft][ODBC Driver 11 for SQL Server][SQL Server]Warning! The maximum key length is 900 bytes. The index 'oi_name_archive_name' has maximum length of 1020 bytes. For some combination of large values, the insert/update operation will fail.
Backtrace:
#0 C:\inetpub\AglWiki\includes\db\Database.php(901): DatabaseBase->reportQueryError('[SQLSTATE 01000...', 1945, 'CREATE INDEX oi...', 'DatabaseBase::s...', false)
#1 C:\inetpub\AglWiki\includes\db\Database.php(3054): DatabaseBase->query('CREATE INDEX oi...', 'DatabaseBase::s...')
#2 C:\inetpub\AglWiki\includes\db\Database.php(2975): DatabaseBase->sourceStream(Resource id #179, false, false, 'DatabaseBase::s...', false)
#3 C:\inetpub\AglWiki\includes\installer\DatabaseInstaller.php(195): DatabaseBase->sourceFile('C:\\inetpub\\AglW...')
#4 C:\inetpub\AglWiki\includes\installer\DatabaseInstaller.php(218): DatabaseInstaller->stepApplySourceFile('getSchemaPath', 'install', true)
#5 C:\inetpub\AglWiki\includes\installer\MssqlInstaller.php(634): DatabaseInstaller->createTables()
#6 C:\inetpub\AglWiki\includes\installer\Installer.php(1475): MssqlInstaller->createTables(Object(MssqlInstaller))
#7 C:\inetpub\AglWiki\includes\installer\WebInstallerInstall.php(44): Installer->performInstallation(Array, Array)
#8 C:\inetpub\AglWiki\includes\installer\WebInstaller.php(279): WebInstallerInstall->execute()
#9 C:\inetpub\AglWiki\mw-config\index.php(80): WebInstaller->execute(Array)
#10 C:\inetpub\AglWiki\mw-config\index.php(38): wfInstallerMain()
#11 {main}