安装的时候的蜜汁问题
[10501] PDOException in Connection.php line 405
SQLSTATE[HY000]: General error: 1031 Table storage engine for 'dp_admin_log' doesn't have this option
$this->bindValue($bind);
// 执行语句
$result = $this->PDOStatement->execute();
// 调试结束
$this->debug(false);
$this->numRows = $this->PDOStatement->rowCount();
return $this->numRows;
} catch (\PDOException $e) {
throw new PDOException($e, $this->config, $this->queryStr);
}
}
/**
* 根据参数绑定组装最终的SQL语句 便于调试
* @access public
* @param string $sql 带参数绑定的sql语句
* @param array $bind 参数绑定列表
* @return string
Call Stack
in Connection.php line 405
at Connection->execute('CREATE TABLE `dp_adm...') in common.php line 189
at create_tables(object(Mysql), 'dp_') in 81fbb9f57d8c105f2d711575e76878c0.php line 65
at include('/Users/user/Si...') in File.php line 50
at File->read('/Users/user/Si...', ['static_dir' => '/public/static/']) in Template.php line 195
at Template->fetch('/Users/user/Si...', ['static_dir' => '/public/static/'], []) in Think.php line 84
at Think->fetch('', ['static_dir' => '/public/static/'], []) in View.php line 127
at View->fetch('', [], [], []) in Controller.php line 108
at Controller->fetch() in Index.php line 168
at Index->step4(null, 0)
at ReflectionMethod->invokeArgs(object(Index), [null, 0]) in App.php line 232
at App::invokeMethod([object(Index), 'step4'], []) in App.php line 397
at App::module(['install', 'index', 'step4'], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 140
at App::run() in start.php line 18
at require('/Users/user/Si...') in index.php line 31
Exception Datas
PDO Error Info
SQLSTATE HY000
Driver Error Code 1031
Driver Error Message Table storage engine for 'dp_admin_log' doesn't have this option
Database Status
Error Code 10501
Error Message SQLSTATE[HY000]: General error: 1031 Table storage engine for 'dp_admin_log' doesn't have this option
Error SQL CREATE TABLE `dp_admin_log` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键', `action_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '行为id', `user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '执行用户id', `action_ip` bigint(20) NOT NULL COMMENT '执行行为者ip', `model` varchar(50) NOT NULL DEFAULT '' COMMENT '触发行为的表', `record_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '触发行为的数据id', `remark` longtext NOT NULL COMMENT '日志备注', `status` tinyint(2) NOT NULL DEFAULT '1' COMMENT '状态', `create_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '执行行为的时间', PRIMARY KEY (`id`), KEY `action_ip_ix` (`action_ip`), KEY `action_id_ix` (`action_id`), KEY `user_id_ix` (`user_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='行为日志表'
SQLSTATE[HY000]: General error: 1031 Table storage engine for 'dp_admin_log' doesn't have this option
$this->bindValue($bind);
// 执行语句
$result = $this->PDOStatement->execute();
// 调试结束
$this->debug(false);
$this->numRows = $this->PDOStatement->rowCount();
return $this->numRows;
} catch (\PDOException $e) {
throw new PDOException($e, $this->config, $this->queryStr);
}
}
/**
* 根据参数绑定组装最终的SQL语句 便于调试
* @access public
* @param string $sql 带参数绑定的sql语句
* @param array $bind 参数绑定列表
* @return string
Call Stack
in Connection.php line 405
at Connection->execute('CREATE TABLE `dp_adm...') in common.php line 189
at create_tables(object(Mysql), 'dp_') in 81fbb9f57d8c105f2d711575e76878c0.php line 65
at include('/Users/user/Si...') in File.php line 50
at File->read('/Users/user/Si...', ['static_dir' => '/public/static/']) in Template.php line 195
at Template->fetch('/Users/user/Si...', ['static_dir' => '/public/static/'], []) in Think.php line 84
at Think->fetch('', ['static_dir' => '/public/static/'], []) in View.php line 127
at View->fetch('', [], [], []) in Controller.php line 108
at Controller->fetch() in Index.php line 168
at Index->step4(null, 0)
at ReflectionMethod->invokeArgs(object(Index), [null, 0]) in App.php line 232
at App::invokeMethod([object(Index), 'step4'], []) in App.php line 397
at App::module(['install', 'index', 'step4'], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 140
at App::run() in start.php line 18
at require('/Users/user/Si...') in index.php line 31
Exception Datas
PDO Error Info
SQLSTATE HY000
Driver Error Code 1031
Driver Error Message Table storage engine for 'dp_admin_log' doesn't have this option
Database Status
Error Code 10501
Error Message SQLSTATE[HY000]: General error: 1031 Table storage engine for 'dp_admin_log' doesn't have this option
Error SQL CREATE TABLE `dp_admin_log` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键', `action_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '行为id', `user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '执行用户id', `action_ip` bigint(20) NOT NULL COMMENT '执行行为者ip', `model` varchar(50) NOT NULL DEFAULT '' COMMENT '触发行为的表', `record_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '触发行为的数据id', `remark` longtext NOT NULL COMMENT '日志备注', `status` tinyint(2) NOT NULL DEFAULT '1' COMMENT '状态', `create_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '执行行为的时间', PRIMARY KEY (`id`), KEY `action_ip_ix` (`action_ip`), KEY `action_id_ix` (`action_id`), KEY `user_id_ix` (`user_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='行为日志表'
没有找到相关结果
已邀请:
2 个回复
pani
赞同来自:
pani
赞同来自: