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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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