为什么会出现以下错误?
QueryException sqlSTATE[HY000] [1045] Access denied for user
‘homestead’@’localhost’ (using password: YES)
我的.env文件如下:
APP_NAME=Laravel
APP_ENV=local
APP_KEY=base64:P7auDP3AGgfkYLPbu+2/m7RCLc42Sip/HuXLLQFZiYs=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost
DB_CONNECTION=MysqL
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=student_management
DB_USERNAME=root
DB_PASSWORD=
最佳答案
原文链接:https://www.f2er.com/mysql/433300.html