mediawiki数据库研究@数据库的安装过程
来自个人维基
includes/db/DatabaseMysql.php.DatabaseMysql->open:63 includes/db/Database.php.DatabaseBase->__construct:693 includes/installer/MysqlInstaller.php.MysqlInstaller->openConnection:159 includes/installer/DatabaseInstaller.php.DatabaseInstaller->getConnection:154 includes/installer/MysqlInstaller.php.MysqlInstaller->submitConnectForm:127 includes/installer/WebInstallerPage.php.WebInstaller_DBConnect->submit:512 includes/installer/WebInstallerPage.php.WebInstaller_DBConnect->execute:439 includes/installer/WebInstaller.php.WebInstaller->execute:270 mw-config/index.php.wfInstallerMain:65 mw-config/index.php.{main}:33 includes/db/DatabaseMysql.php.DatabaseMysql->open:63 includes/db/Database.php.DatabaseBase->__construct:693 includes/installer/MysqlInstaller.php.MysqlInstaller->openConnection:159 includes/installer/DatabaseInstaller.php.DatabaseInstaller->getConnection:154 includes/installer/DatabaseInstaller.php.DatabaseInstaller->needsUpgrade:494 includes/installer/WebInstallerPage.php.WebInstaller_Upgrade->execute:544 includes/installer/WebInstaller.php.WebInstaller->execute:270 mw-config/index.php.wfInstallerMain:65 mw-config/index.php.{main}:33 includes/db/DatabaseMysql.php.DatabaseMysql->open:63 includes/db/Database.php.DatabaseBase->__construct:693 includes/installer/MysqlInstaller.php.MysqlInstaller->openConnection:159 includes/installer/DatabaseInstaller.php.DatabaseInstaller->getConnection:154 includes/installer/MysqlInstaller.php.MysqlInstaller->canCreateAccounts:264 includes/installer/MysqlInstaller.php.MysqlInstaller->getSettingsForm:337 includes/installer/WebInstallerPage.php.WebInstaller_DBSettings->execute:614 includes/installer/WebInstaller.php.WebInstaller->execute:270 mw-config/index.php.wfInstallerMain:65 mw-config/index.php.{main}:33 数据库设置 供网页访问使用的数据库帐号 使用和安装程序相同的帐号 存储引擎: InnoDB MyISAM includes/db/DatabaseMysql.php.DatabaseMysql->open:63 includes/db/Database.php.DatabaseBase->__construct:693 includes/installer/MysqlInstaller.php.MysqlInstaller->openConnection:159 includes/installer/DatabaseInstaller.php.DatabaseInstaller->getConnection:154 includes/installer/MysqlInstaller.php.MysqlInstaller->canCreateAccounts:264 includes/installer/MysqlInstaller.php.MysqlInstaller->submitSettingsForm:411 includes/installer/WebInstallerPage.php.WebInstaller_DBSettings->execute:604 includes/installer/WebInstaller.php.WebInstaller->execute:270 mw-config/index.php.wfInstallerMain:65 mw-config/index.php.{main}:33 includes/db/DatabaseMysql.php.DatabaseMysql->open:63 includes/db/Database.php.DatabaseBase->__construct:693 includes/installer/MysqlInstaller.php.MysqlInstaller->submitSettingsForm:430 includes/installer/WebInstallerPage.php.WebInstaller_DBSettings->execute:604 includes/installer/WebInstaller.php.WebInstaller->execute:270 mw-config/index.php.wfInstallerMain:65 mw-config/index.php.{main}:33 名称 Wiki的名称: 帮助 项目名字空间: 帮助 与wiki名称相同:My_Wiki 项目 其他(自定义) 安装 信息 点击“继续 →”后,您将 includes/db/DatabaseMysql.php.DatabaseMysql->open:63 includes/db/Database.php.DatabaseBase->__construct:693 includes/installer/MysqlInstaller.php.MysqlInstaller->openConnection:159 includes/installer/DatabaseInstaller.php.DatabaseInstaller->getConnection:154 includes/installer/MysqlInstaller.php.MysqlInstaller->setupDatabase:462 includes/installer/Installer.php.call_user_func:1452 includes/installer/Installer.php.Installer->performInstallation:1452 includes/installer/WebInstallerPage.php.WebInstaller_Install->execute:1177 includes/installer/WebInstaller.php.WebInstaller->execute:270 mw-config/index.php.wfInstallerMain:65 mw-config/index.php.{main}:33 includes/db/DatabaseMysql.php.DatabaseMysql->doQuery:45 includes/db/Database.php.DatabaseBase->query:955 includes/db/DatabaseMysql.php.DatabaseMysql->open:158 includes/db/Database.php.DatabaseBase->__construct:693 includes/installer/MysqlInstaller.php.MysqlInstaller->openConnection:159 includes/installer/DatabaseInstaller.php.DatabaseInstaller->getConnection:154 includes/installer/MysqlInstaller.php.MysqlInstaller->setupDatabase:462 includes/installer/Installer.php.call_user_func:1452 includes/installer/Installer.php.Installer->performInstallation:1452 includes/installer/WebInstallerPage.php.WebInstaller_Install->execute:1177 includes/installer/WebInstaller.php.WebInstaller->execute:270 mw-config/index.php.wfInstallerMain:65 mw-config/index.php.{main}:33 includes/db/DatabaseMysql.php.DatabaseMysql->doQuery:45 includes/db/Database.php.DatabaseBase->query:955 includes/db/DatabaseMysql.php.DatabaseMysql->open:163 includes/db/Database.php.DatabaseBase->__construct:693 includes/installer/MysqlInstaller.php.MysqlInstaller->openConnection:159 includes/installer/DatabaseInstaller.php.DatabaseInstaller->getConnection:154 includes/installer/MysqlInstaller.php.MysqlInstaller->setupDatabase:462 includes/installer/Installer.php.call_user_func:1452 includes/installer/Installer.php.Installer->performInstallation:1452 includes/installer/WebInstallerPage.php.WebInstaller_Install->execute:1177 includes/installer/WebInstaller.php.WebInstaller->execute:270 mw-config/index.php.wfInstallerMain:65 mw-config/index.php.{main}:33 CREATE /* MysqlInstaller::setupDatabase 0:0:0:0:0:0:0:1 */ DATABASE `my_wiki2` includes/db/DatabaseMysql.php.DatabaseMysql->doQuery:45 includes/db/Database.php.DatabaseBase->query:955 includes/installer/MysqlInstaller.php.MysqlInstaller->setupDatabase:469 includes/installer/Installer.php.call_user_func:1452 includes/installer/Installer.php.Installer->performInstallation:1452 includes/installer/WebInstallerPage.php.WebInstaller_Install->execute:1177 includes/installer/WebInstaller.php.WebInstaller->execute:270 mw-config/index.php.wfInstallerMain:65 mw-config/index.php.{main}:33 SELECT /* DatabaseInstaller::createTables 0:0:0:0:0:0:0:1 */ 1 FROM `archive` LIMIT 1 includes/db/DatabaseMysql.php.DatabaseMysql->doQuery:45 includes/db/Database.php.DatabaseBase->query:955 includes/db/Database.php.DatabaseBase->tableExists:1651 includes/installer/DatabaseInstaller.php.DatabaseInstaller->createTables:176 includes/installer/Installer.php.call_user_func:1452 includes/installer/Installer.php.Installer->performInstallation:1452 includes/installer/WebInstallerPage.php.WebInstaller_Install->execute:1177 includes/installer/WebInstaller.php.WebInstaller->execute:270 mw-config/index.php.wfInstallerMain:65 mw-config/index.php.{main}:33 "BEGIN /* DatabaseInstaller::createTables 0:0:0:0:0:0:0:1 */ " includes/db/DatabaseMysql.php.DatabaseMysql->doQuery:45 includes/db/Database.php.DatabaseBase->query:955 includes/db/Database.php.DatabaseBase->doBegin:3049 includes/db/Database.php.DatabaseBase->begin:3036 includes/installer/DatabaseInstaller.php.DatabaseInstaller->createTables:183 includes/installer/Installer.php.call_user_func:1452 includes/installer/Installer.php.Installer->performInstallation:1452 includes/installer/WebInstallerPage.php.WebInstaller_Install->execute:1177 includes/installer/WebInstaller.php.WebInstaller->execute:270 mw-config/index.php.wfInstallerMain:65 mw-config/index.php.{main}:33 "CREATE /* DatabaseBase::sourceFile( C:\xampp\htdocs\mediawiki/maintenance/tables.sql ) 0:0:0:0:0:0:0:1 */ TABLE `user` ( user_id int unsigned NOT NULL PRIMARY KEY AUTO_INCREMENT, user_name varchar(255) binary NOT NULL default '', user_real_name varchar(255) binary NOT NULL default '', user_password tinyblob NOT NULL, user_newpassword tinyblob NOT NULL, user_newpass_time binary(14), user_email tinytext NOT NULL, user_touched binary(14) NOT NULL default '', user_token binary(32) NOT NULL default '', user_email_authenticated binary(14), user_email_token binary(32), user_email_token_expires binary(14), user_registration binary(14), user_editcount int ) ENGINE=InnoDB, DEFAULT CHARSET=binary " includes/db/DatabaseMysql.php.DatabaseMysql->doQuery:45 includes/db/Database.php.DatabaseBase->query:955 includes/db/Database.php.DatabaseBase->sourceStream:3409 includes/db/Database.php.DatabaseBase->sourceFile:3322 includes/installer/DatabaseInstaller.php.DatabaseInstaller->createTables:185 includes/installer/Installer.php.call_user_func:1452 includes/installer/Installer.php.Installer->performInstallation:1452 includes/installer/WebInstallerPage.php.WebInstaller_Install->execute:1177 includes/installer/WebInstaller.php.WebInstaller->execute:270 mw-config/index.php.wfInstallerMain:65 mw-config/index.php.{main}:33 "CREATE /* DatabaseBase::sourceFile( C:\xampp\htdocs\mediawiki/maintenance/tables.sql ) 0:0:0:0:0:0:0:1 */ UNIQUE INDEX user_name ON `user` (user_name) " includes/db/DatabaseMysql.php.DatabaseMysql->doQuery:45 includes/db/Database.php.DatabaseBase->query:955 includes/db/Database.php.DatabaseBase->sourceStream:3409 includes/db/Database.php.DatabaseBase->sourceFile:3322 includes/installer/DatabaseInstaller.php.DatabaseInstaller->createTables:185 includes/installer/Installer.php.call_user_func:1452 includes/installer/Installer.php.Installer->performInstallation:1452 includes/installer/WebInstallerPage.php.WebInstaller_Install->execute:1177 includes/installer/WebInstaller.php.WebInstaller->execute:270 mw-config/index.php.wfInstallerMain:65 mw-config/index.php.{main}:33 "CREATE /* DatabaseBase::sourceFile( C:\xampp\htdocs\mediawiki/maintenance/tables.sql ) 0:0:0:0:0:0:0:1 */ INDEX user_email_token ON `user` (user_email_token) " includes/db/DatabaseMysql.php.DatabaseMysql->doQuery:45 includes/db/Database.php.DatabaseBase->query:955 includes/db/Database.php.DatabaseBase->sourceStream:3409 includes/db/Database.php.DatabaseBase->sourceFile:3322 includes/installer/DatabaseInstaller.php.DatabaseInstaller->createTables:185 includes/installer/Installer.php.call_user_func:1452 includes/installer/Installer.php.Installer->performInstallation:1452 includes/installer/WebInstallerPage.php.WebInstaller_Install->execute:1177 includes/installer/WebInstaller.php.WebInstaller->execute:270 mw-config/index.php.wfInstallerMain:65 mw-config/index.php.{main}:33 "CREATE /* DatabaseBase::sourceFile( C:\xampp\htdocs\mediawiki/maintenance/tables.sql ) 0:0:0:0:0:0:0:1 */ INDEX user_email ON `user` (user_email(50)) " includes/db/DatabaseMysql.php.DatabaseMysql->doQuery:45 includes/db/Database.php.DatabaseBase->query:955 includes/db/Database.php.DatabaseBase->sourceStream:3409 includes/db/Database.php.DatabaseBase->sourceFile:3322 includes/installer/DatabaseInstaller.php.DatabaseInstaller->createTables:185 includes/installer/Installer.php.call_user_func:1452 includes/installer/Installer.php.Installer->performInstallation:1452 includes/installer/WebInstallerPage.php.WebInstaller_Install->execute:1177 includes/installer/WebInstaller.php.WebInstaller->execute:270 mw-config/index.php.wfInstallerMain:65 mw-config/index.php.{main}:33 "CREATE /* DatabaseBase::sourceFile( C:\xampp\htdocs\mediawiki/maintenance/tables.sql ) 0:0:0:0:0:0:0:1 */ TABLE `user_groups` ( ug_user int unsigned NOT NULL default 0, ug_group varbinary(255) NOT NULL default '' ) ENGINE=InnoDB, DEFAULT CHARSET=binary " includes/db/DatabaseMysql.php.DatabaseMysql->doQuery:45 includes/db/Database.php.DatabaseBase->query:955 includes/db/Database.php.DatabaseBase->sourceStream:3409 includes/db/Database.php.DatabaseBase->sourceFile:3322 includes/installer/DatabaseInstaller.php.DatabaseInstaller->createTables:185 includes/installer/Installer.php.call_user_func:1452 includes/installer/Installer.php.Installer->performInstallation:1452 includes/installer/WebInstallerPage.php.WebInstaller_Install->execute:1177 includes/installer/WebInstaller.php.WebInstaller->execute:270 mw-config/index.php.wfInstallerMain:65 mw-config/index.php.{main}:33 ........