分享
  • 收藏
  • 举报
    X
    换服务器后登录就出错了SQLSTATE[HY000]: General error: 1036 Table 'qb_log_action' is read only
    • 黑鲨咨询 消费0元 2019-11-14 16:09 16:09
    1361
    1

    [10501] PDOException in Connection.php line 456

    SQLSTATE[HY000]: General error: 1036 Table 'qb_log_action' is read only

                // 调试结束            $this->debug(false);            $this->numRows = $this->PDOStatement->rowCount();            return $this->numRows;        } catch (\PDOException $e) {            if ($this->isBreak($e)) {                return $this->close()->execute($sql, $bind);            }            throw new PDOException($e, $this->config, $this->getLastsql());        } catch (\Throwable $e) {            if ($this->isBreak($e)) {                return $this->close()->execute($sql, $bind);            }            throw $e;        } catch (\Exception $e) {            if ($this->isBreak($e)) {                return $this->close()->execute($sql, $bind);            }

    Call Stack

    1. in Connection.php line 456

    2. at Connection->execute('INSERT INTO `qb_log_...', ['data__uid' => [0, 1], 'data__ip' => ['116.30.204.235', 2], 'data__model' => ['admin', 2], ...]) in Query.php line 241

    3. at Query->execute('INSERT INTO `qb_log_...', ['data__uid' => [0, 1], 'data__ip' => ['116.30.204.235', 2], 'data__model' => ['admin', 2], ...]) in Query.php line 2208

    4. at Query->insert(['uid' => 0, 'ip' => '116.30.204.235', 'model' => 'admin', ...], false, false, null) in Model.php line 1144

    5. at Model->save(['uid' => 0, 'ip' => '116.30.204.235', 'model' => 'admin', ...], []) in Model.php line 1625

    6. at Model::create(['uid' => 0, 'ip' => '116.30.204.235', 'model' => 'admin', ...]) in Action.php line 53

    7. at Action::write() in AdminBase.php line 66

    8. at AdminBase->_initialize() in Member.php line 28


    13
    赏礼
    赏钱
    收藏
    点击回复
        全部留言
    • 1
    • 码农 程序开发者 消费:0元 2019-11-14 16:26 16:266楼

      数据库没有写的权限

    0 赏钱 赏礼回复
    更多回复
    恢复多功能编辑器
  • 3 1
  • 推荐内容
    扫一扫访问手机版
    请选择要切换的马甲:

     
    网页即时交流
    QQ咨询
    咨询热线
    020-28998648