无法安装MediaWiki

时间:2015-12-07 14:00:07

标签: mediawiki mediawiki-installation

我安装MediaWiki 1.26.0并面临此错误。

安装设置数据库...完成 创建表格......

  

发生了数据库查询错误。这可能表明存在错误   软件

查询:

CREATE UNIQUE INDEX user_name ON `wkuser` (user_name)
Function: DatabaseBase::sourceFile( /var/www/html/mw/maintenance/tables.sql )
Error: 1031 Table storage engine for 'wkuser' doesn't have this option (localhost)
  

0 /var/www/html/mw/includes/db/Database.php(1076):DatabaseBase-> reportQueryError('Table storage e ...',1031,'CREATE   UNIQUE I ...','DatabaseBase :: s ...',false)   1 /var/www/html/mw/includes/db/Database.php(3979):DatabaseBase-> query('CREATE UNIQUE I ...','DatabaseBase :: s ...')   2 /var/www/html/mw/includes/db/Database.php(3893):DatabaseBase-> sourceStream(资源ID#127,false,false,   'DatabaseBase :: s ...',false)   3 /var/www/html/mw/includes/installer/DatabaseInstaller.php(196):DatabaseBase-> sourceFile('/ var / www / html / m ...')   4 /var/www/html/mw/includes/installer/DatabaseInstaller.php(218):DatabaseInstaller-> stepApplySourceFile('getSchemaPath','install',   真正)   5 [内部函数]:DatabaseInstaller-> createTables(Object(MysqlInstaller))   6 /var/www/html/mw/includes/installer/Installer.php(1592):call_user_func(Array,Object(MysqlInstaller))   7 /var/www/html/mw/includes/installer/WebInstallerPage.php(1419):Installer-> performInstallation(Array,Array)   8 /var/www/html/mw/includes/installer/WebInstaller.php(280):WebInstallerInstall-> execute()   9 /var/www/html/mw/mw-config/index.php(77):WebInstaller->执行(数组)   10 /var/www/html/mw/mw-config/index.php(36):wfInstallerMain()   11 {main}

有任何线索吗?

1 个答案:

答案 0 :(得分:0)

所以我没有选择 MyISAM 而不是 InnoDB

我可以正确安装它。