Helping a user on freenode today, we came across the following error:
Error: 257 [SQLSTATE 42000][Error Code 257][Microsoft][ODBC Driver 13 for SQL Server][SQL Server]Implicit conversion from data type varchar to varbinary is not allowed. Use the CONVERT function to run this query.
The cause was the default line here:
Query: CREATE TABLE [mediawiki].[externallinks] ( el_id int NOT NULL PRIMARY KEY IDENTITY, el_from int NOT NULL REFERENCES [mediawiki].[page](page_id) ON DELETE CASCADE, el_to nvarchar(max) NOT NULL, el_index nvarchar(450) NOT NULL, el_index_60 varbinary(60) NOT NULL default '' )
Removing default '' allowed the installation to work.
MW: 1.30
MSSQL: Version 10.50.1600.1 (Microsoft SQL Server Data Center Edition (64-bit))