Topic on Project:Support desk

Summary by Noboddy

it works with the latest update, got no idea why ¯\_(ツ)_/¯

Noboddy (talkcontribs)

Hello, I tried to install MW 1.29 with git and thought I was successful. But my extensions didn't show the correct version number even after I ran maintenance/update.php. So I thought I'll try the mw-config web configuration, but here I got the following error message:

[86ae26c8d74861c3c8e3d76d] /w/mw-config/?page=Upgrade Wikimedia\Rdbms\DBQueryError from line 1075 of /var/www/html/w/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SHOW TABLE STATUS LIKE 'revision' ESCAPE '`'

Function: MysqlInstaller::preUpgrade

Error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ESCAPE '`'' at line 1 (localhost)

Backtrace:

#0 /var/www/html/w/includes/libs/rdbms/database/Database.php(933): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)

#1 /var/www/html/w/includes/installer/MysqlInstaller.php(183): Wikimedia\Rdbms\Database->query(string, string)

#2 /var/www/html/w/includes/installer/WebInstallerUpgrade.php(62): MysqlInstaller->preUpgrade()

#3 /var/www/html/w/includes/installer/WebInstaller.php(279): WebInstallerUpgrade->execute()

#4 /var/www/html/w/mw-config/index.php(81): WebInstaller->execute(array)

#5 /var/www/html/w/mw-config/index.php(39): wfInstallerMain()

#6 {main}

Is there really a problem with my database or is this a bug in the latest version of MW?

I'm using MW 1.29.0-rc.0 (5859b82) (05:03, 16. Mai 2017) and MySQL 5.7.18-0ubuntu0.16.04.1.