Edit the TitleKey.sql script to the following:
CREATE TABLE titlekey ( tk_page int NOT NULL PRIMARY KEY, tk_namespace int NOT NULL, tk_key varchar(255) NOT NULL); CREATE INDEX name_key on titlekey(tk_namespace, tk_key);
Otherwise the <wiki>/maintenance/update.php script will fail with systax error at tk_page (it is the tk_page right behind PRIMARY KEY in the original script).