安装2.6.2后,打开后台就报这样的错

动态 未结 1 123
Abcfun
悬赏:0L币
SQLSTATE[HY000] [1045] Access denied for user 'test1'@'localhost' (using password: YES) } } else { if ($this->reConnectTimes < 4 && $this->isBreak($e)) { ++$this->reConnectTimes; return $this->close()->getPDOStatement($sql, $bind, $master, $procedure); } } if ($e instanceof \PDOException) { throw new PDOException($e, $this->config, $this->getLastsql()); } else { throw $e; } } } /** * 执行语句 * @access protected 安装2.6.2后,打开后台就报这样的错SQLSTATE[HY000] [1045] Access denied for user 'test1'@'localhost' (using password: YES) 我用的是root没用到test1哦
回帖
  • admin VIP1 (管理员)
    2022-09-02 11:02:40
    修改.env 或刪除.env 目前安裝包已經刪除.env 文件
    0 回复