0

我正在安装 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('表存储 e...', 1031, 'CREATE UNIQUE I...', 'DatabaseBase:: s...', false) 1 /var/www/html/mw/includes/db/Database.php(3979): DatabaseBase->query('CREATE UNIQUE I...', 'Database::s.. .') 2 /var/www/html/mw/includes/db/Database.php(3893): DatabaseBase->sourceStream(Resource 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/包括/installer/DatabaseInstaller.php(218): DatabaseInstaller->stepApplySourceFile('getSchemaPath', 'install', true) 5 [内部函数]: DatabaseInstaller->createTables(对象(MysqlInstaller))6 /var/www/html/mw/includes/installer/Installer.php(1592):call_user_func(数组,对象(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->execute(Array) 10 /var/www/html/mw/mw-config/index.php(36): wfInstallerMain() 11 {main}php(77): WebInstaller->execute(Array) 10 /var/www/html/mw/mw-config/index.php(36): wfInstallerMain() 11 {main}php(77): WebInstaller->execute(Array) 10 /var/www/html/mw/mw-config/index.php(36): wfInstallerMain() 11 {main}

有什么线索吗?

4

1 回答 1

0

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

我可以正确安装它。

于 2015-12-07T14:48:13.037 回答