Jump to content

Topic on Project:Support desk/Flow

Database error when installing MW 1.31.1

5
Alfredo1066 (talkcontribs)

When installing MW_1.31.1 I encounter a database error.

Look here for a sample wiki, where all the steps are documented by screenshots.

The empty database file is included too. So anybody can download it and test it on other systems in order to determine whether this is a bug.

Thanks.

This post was hidden by AhmadF.Cheema (history)
2001:16B8:101A:8F00:60CE:690F:2854:FA50 (talkcontribs)

Looking at your screenshots, most of what you noted is not really a problem: MediaWiki will work without an OPCode cache - although installing one might make it faster.

For the default table engine, please choose InnoDB.

When I look at your wiki page with the error description and at your other topic Topic:Un9gv9llrhwsec5i, then I see the same error messsage twice:

JobQueueError from line 828 of /mw_1.31.1-neu/includes/jobqueue/JobQueueDB.php: Wikimedia\Rdbms\DBQueryError: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading? Query: SELECT job_sha1 FROM `innodbjob` WHERE job_sha1 = '94t2nzwov23jc8fpl2v3kr6rk6lmeu5' AND job_token = Function: JobQueueDB::doBatchPush Error: 1146 Table 'db12596436-innodb.innodbjob' doesn't exist (localhost)

and

Error: 1146 Table 'db12596436-isamdb.isamdbjob' doesn't exist (localhost)

Somehow, MediaWiki tries to access tables with table prefix "innodb" and "isamdb".

According to the LocalSettings.php file, which you posted, you have not set $wgDBprefix. So there should not be a table prefix.

Looks like a bug.

Alfredo1066 (talkcontribs)

Thanks, I will file a bug report.

AKlapper (WMF) (talkcontribs)