Page MenuHomePhabricator

SQL Errors on set up
Closed, InvalidPublic

Description

Author: conway.geraldine

Description:
Hi Markus,

I am just trying to set up the semantic mediawiki.
I am getting the following error when i try and save something.

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
(SQL query hidden)
from within function "SMW::getSMWPageID". MySQL returned error "1146: Table 'wikidb.mw_smw_ids' doesn't exist (localhost)".
Retrieved from "http://ger.wbt.wbtsystems.com/Phase_3"

I extracted the files in the extension folder and i ran the update for the database tables and I receive this page.

Setting up standard database configuration for SMW ...

Selected storage engine is "SMWSQLStore2" (or an extension thereof)

Setting up table mw_smw_ids ...

Please help


Version: unspecified
Severity: critical

Details

Reference
bz18261

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:37 PM
bzimport set Reference to bz18261.

Looks like you have to run maintenance/update.php ...

conway.geraldine wrote:

How do I do that?

conway.geraldine wrote:

ok, maybe it was a stupid question but I still have not resolved my problem.

Could you tell me how to run the maintance script in simple terms please?

(In reply to comment #4)

ok, maybe it was a stupid question but I still have not resolved my problem.

Could you tell me how to run the maintance script in simple terms please?

BugZilla is not a support forum. For support, e-mail the wikimedia-l list or get on IRC: MediaWiki-General on freenode.

I completely agree with Roan -- but I still paste in the following link (also for those who may come across this page in a web search) where you can find all the information you need to solve your problem:

http://semantic-mediawiki.org/wiki/Help:Installation