gpt4 book ai didi

php - laravel QueryException 行 770

转载 作者:行者123 更新时间:2023-11-29 02:46:36 25 4
gpt4 key购买 nike

我想在laravel中注册时遇到问题。完成注册表后,我看到此错误消息:

QueryException in Connection.php line 770:SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES) (SQL: select count(*) as aggregate from users where email =

谢谢你帮助我。

最佳答案

创建DB并在/.env文件中添加信息

DB_HOST=localhost
DB_DATABASE=YOUR_DB_NAME
DB_USERNAME=YOUR_DB_USER_NAME
DB_PASSWORD=YOUR_DB_USER_PASSWORD

关于php - laravel QueryException 行 770,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41348133/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com