Last modified: 2007-11-06 09:13:40 UTC
== Dan Thomas writes on the mediawiki list ==
Don't know if this is related, but did a clean install of MW 1.11.0.
Added SMW 0.7 as first extension.
Set $wgDBuser/$wgDBpassword to root account in LocalSettings.php
When click Initialize button on Special:SMWAdmin, receive following error:
Database error 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::setupDatabase". MySQL returned 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 '-gen.`smw_relations`
( subject_id INT(8) UNSIGNED NOT NULL, su' at line 1 (localhost)".
== Later ==
Figured out problem/solution to my issue. The mediawiki database name
contained a hyphen '-' wikidb-gen
Mediawiki does a clean install and seems to work fine. Semantic Mediawiki
will not initialize.
*** Bug 9783 has been marked as a duplicate of this bug. ***