You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 4, 2020. It is now read-only.
[2] ErrorException in Connection.php line 441
PDOStatement::execute(): MySQL server has gone away
// 是否为存储过程调用
$procedure = in_array(strtolower(substr(trim($sql), 0, 4)), ['call', 'exec']);
// 参数绑定
if ($procedure) {
$this->bindParam($bind);
} else {
$this->bindValue($bind);
}
// 执行语句
$this->PDOStatement->execute();
// 调试结束
$this->debug(false);
$this->numRows = $this->PDOStatement->rowCount();
return $this->numRows;
} catch (\PDOException $e) {
if ($this->isBreak($e)) {
return $this->close()->execute($sql, $bind);
}
Call Stack
in Connection.php line 441
at Error::appError(2, 'PDOStatement::execut...', 'C:\projects\03_newth...', 441, ['sql' => 'INSERT INTO `think_u...', 'bind' => ['data__nickname' => ['流年', 2], 'data__email' => ['[email protected]', 2], 'data__birthday' => [226339200, 1], ...], 'procedure' => false])
at PDOStatement->execute() in Connection.php line 441
at Connection->execute('INSERT INTO `think_u...', ['data__nickname' => ['流年', 2], 'data__email' => ['[email protected]', 2], 'data__birthday' => [226339200, 1], ...]) in Query.php line 241
at Query->execute('INSERT INTO `think_u...', ['data__nickname' => ['流年', 2], 'data__email' => ['[email protected]', 2], 'data__birthday' => [226339200, 1], ...]) in Query.php line 2085
at Query->insert(['nickname' => '流年', 'email' => '[email protected]', 'birthday' => 226339200, ...]) in Model.php line 1073
at Model->save() in User.php line 22
at User->add()
at ReflectionMethod->invokeArgs(object(User), []) in App.php line 197
at App::invokeMethod([object(User), 'add'], []) in App.php line 411
at App::module(['index', 'user', 'add'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 296
at App::exec(['type' => 'module', 'module' => ['index', 'user', 'add']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 124
at App::run() in start.php line 18
at require('C:\projects\03_newth...') in index.php line 17
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
如标题所示,'auto_timestamp' => true, 在阿里云RDS器不能用,在本地就可以正常使用!回车后, 浏览器就一直在转圈,最后有一个提示,如下:
The text was updated successfully, but these errors were encountered: