Last modified: 2007-11-06 09:13:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T13704, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11704 - SMW-setup fails for some DB names
SMW-setup fails for some DB names
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: High major (vote)
: ---
Assigned To: Markus Krötzsch
:
: 9783 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-18 21:08 UTC by Markus Krötzsch
Modified: 2007-11-06 09:13 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Markus Krötzsch 2007-10-18 21:08:59 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.
Comment 1 Markus Krötzsch 2007-11-06 09:13:40 UTC
*** Bug 9783 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links