Last modified: 2007-11-06 09:13:40 UTC
I have just set up MediaWiki 1.9.* on my web server and installed the latest
version of SMW. I have followed the appropriate steps, but when I go to
Special:SMWAdmin and click the initialisation button, I get the following error:
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 '-_wikidb.`smw_relations`
( subject_id INT(8) UNSIGNED NOT NULL, ' at line 1 (localhost)".
As you partially see, my database has the name travvy_info_-_wikidb. That
prefix is mandated by my webhost. Is the hyphen causing the problem or is it
just a coincidence the problem starts there?
*** This bug has been marked as a duplicate of bug 11704 ***