更新时间:2022-12-02 14:46:39
可能存在以下可能性-
解决方案-在首选编辑器中打开.env文件,并检查所有mysql访问凭据是否正确.
Solution - Open .env file in your preferred editor and check if all the mysql access credentials are correct.
类似-
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=[your db name here]
DB_USERNAME=[db user here]
DB_PASSWORD=[password]
解决方案-使用任何mysql界面(phpmyadmin,workbench..etc)检查您在.env文件中提到的用户是否具有足够的连接权限.
Solution - use any mysql interface (phpmyadmin, workbench..etc) to check if the user that you mentioned in .env file have enough access to connect.