Steps to reproduce:
- Go to /mw-config/ enter in the information and then when you reach "There are MediaWiki tables in this database. To upgrade them to MediaWiki 1.30.0-wmf.1, click Continue." click continue
Expected results
- It to go to the next page and run the sql update.
Actual results
Fails with
[19bc4128952044d6b4272d46] /mw-config/?page=Upgrade Wikimedia\Rdbms\DBQueryError from line 1076 of /home/randomwi/public_html/en/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 /home/randomwi/public_html/en/includes/libs/rdbms/database/Database.php(934): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)
#1 /home/randomwi/public_html/en/includes/installer/MysqlInstaller.php(183): Wikimedia\Rdbms\Database->query(string, string)
#2 /home/randomwi/public_html/en/includes/installer/WebInstallerUpgrade.php(62): MysqlInstaller->preUpgrade()
#3 /home/randomwi/public_html/en/includes/installer/WebInstaller.php(279): WebInstallerUpgrade->execute()
#4 /home/randomwi/public_html/en/mw-config/index.php(81): WebInstaller->execute(array)
#5 /home/randomwi/public_html/en/mw-config/index.php(39): wfInstallerMain()
#6 {main}
It seems mostly this breakage is caused by https://github.com/wikimedia/mediawiki/commit/6519c42d248a78d2d42edee1beb21f926d227044 as the traceback leads to the line that this change, changes.
Im running mediawiki 1.30 wmf 1 with php 7.1.5 and mysql 5.5.