Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have cloned my old (still up to date) Laravel project from github. Installed composer and npm and then ran npm run dev. After that I have created database and configured .env file as well as key with php artisan key:generate. It looks like this now: https://prnt.sc/wjv1aw

For some reason I got this error (I have never before encountered it): https://prnt.sc/wjv1yn

And this is the part from .env file:

APP_NAME=Laravel
APP_ENV=local
APP_KEY=ba...EI=
APP_DEBUG=true
APP_URL=http://localhost

LOG_CHANNEL=stack

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=db_blogproject
DB_USERNAME=root
DB_PASSWORD=

Solution for me was on this topic: Laravel 5 PDOException Could Not Find Driver

question from:https://stackoverflow.com/questions/65645987/laravel-could-not-find-driver

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
278 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...