Last modified: 2010-05-15 15:41:03 UTC
The error: Es gab einen Syntaxfehler in der Datenbankabfrage. Die letzte Datenbankabfrage lautete: (SQL query hidden) aus der Funktion „LinksUpdate::getExistingInterlangs“. MySQL meldete den Fehler „1146: Table 'personalwikidb.langlinks' doesn't exist (localhost)“. I ran the config-script but it seems that the table wasn't created. # MediaWiki: 1.7.1 # PHP: 5.1.2 (apache2handler) # MySQL: 4.1.13
I have fixed this error by creating the table manually: CREATE TABLE langlinks( -- page_id of the referring page ll_from int( 8 ) unsigned NOT NULL default '0', -- Language code of the target ll_lang varchar( 10 ) binary NOT NULL default '', -- Title of the target, including namespace ll_title varchar( 255 ) binary NOT NULL default '', UNIQUE KEY ( ll_from, ll_lang ) , KEY ( ll_lang, ll_title ) ) TYPE = InnoDB;
When upgrading MediaWiki, don't forget to run the maintenance/update.php script to check and upgrade the database schema as needed.
Hi, this step is ok, but not well because this directory is standardly protected by htaccess. This script should be run by the config script.
You run it from the command line. The configuration script can be re-run to perform upgrades, too, but an AdminSettings.php file needs to be available to do that.