Topic on Manual talk:Installing MediaWiki

Jump to navigation Jump to search

Auto-installer issues with MySQL1

4 (talkcontribs)


not sure this is the proper way to report an issue -- please please point me to the right direction if not. I'm trying to install Mediawiki on CPanel (Apache, PHP 5, MySQL 5.5), and I have the following issues with 1.23.8 and 1.24.0.

The first issue is a variable not instantiated in the SQL install script, generating the error:

A database query error has occurred. This may indicate a bug in the software. CREATE TABLE `user` (...) ENGINE=, DEFAULT CHARSET=binary

I shortened the SQL query intentionally, showing only that the issue is the missing ENGINE value. When I correct the maintenance/tables.sql script to replace /*$wgDBTableOptions*/ by "ENGINE=MyISAM, DEFAULT CHARSET=Binary, the script runs correctly.

The second issue comes right after, in the form of an error 500, no trace in the apache error_log. I tried fixing permissions on the imgages folder, to no avail. I'll try to debug further, and will post back here if I find anything, but any help would be appreciated. Thanks

Nemo bis (talkcontribs)

As the comment says, you need to set $wgDBTableOptions. This is done by the installer: if you used a CPanel install process, please report the bug to them. (talkcontribs)

No, I didn't use the CPanel install process, just the classic mw-config script.

Nemo bis (talkcontribs)

Thanks. Installer is a semi-abandoned component, so we have chances to get this fixed but only if you file a good report (against #MediaWiki-Installer), detailing exactly what LAMP stack you're using, what steps you followed and what's the resulting LocalSettings.php file. This is typically easier if you try to follow the steps from the beginning and write them down in the process.

Reply to "Auto-installer issues with MySQL1"