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
Illuminate\Database\QueryException : SQLSTATE[HY000] [1045] Access denied for user 'chen'@'222.87.190.128' (using password: YES) (SQL: select * from informa
tion_schema.tables where table_schema = bbs and table_name = migrations and table_type = 'BASE TABLE')
at /var/www/bbs/vendor/laravel/framework/src/Illuminate/Database/Connection.php:665
661| // If an exception occurs when attempting to run a query, we'll format the error
662| // message to include the bindings with SQL, which will make this exception a
663| // lot more helpful to the developer instead of just the database's errors.
664| catch (Exception $e) {
> 665| throw new QueryException(
666| $query, $this->prepareBindings($bindings), $e
667| );
668| }
669|
Exception trace:
1 Doctrine\DBAL\Driver\PDOException::("SQLSTATE[HY000] [1045] Access denied for user 'chen'@'222.87.190.128' (using password: YES)")
/var/www/bbs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31
2 PDOException::("SQLSTATE[HY000] [1045] Access denied for user 'chen'@'222.87.190.128' (using password: YES)")
/var/www/bbs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Please use the argument -v to see more details.
很明显链接的不是我设置的host地址,难道.env的设置失效了吗?我看了一下,这个222.87.190.128是我的电脑的公网ip地址。laradock默认链接的是本机吗?
The text was updated successfully, but these errors were encountered: