我从本地系统上的实时服务器安装了laravel项目,现在出现“找不到驱动程序”错误

时间:2019-07-12 10:18:37

标签: mysql laravel

我从本地服务器上的实时服务器安装了laravel项目,现在当我尝试运行它时,出现以下错误:

Illuminate \ Database \ QueryException
could not find driver (SQL: select * from `table1` where `emp_code` = xxxx and `password` = xxxx limit 1)

.env文件:

APP_NAME=B4U
APP_ENV=local
APP_KEY=base64:a1zKEN3ty/um1vBmAEnunG8IWECXzDMMfVnIOqxRAYM=
APP_DEBUG=true
APP_LOG=daily
APP_LOG_LEVEL=debug
APP_URL=http://localhost:84
SALT=a1zKEN3ty/um1vBmAEnunG8IWECXzDMMfVnIOqxRAYM=

BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
SESSION_LIFETIME=120
QUEUE_DRIVER=database

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_HOST=mail.b4uworld.com
MAIL_PORT=25
MAIL_USERNAME=no-reply@b4uworld.com
MAIL_PASSWORD=Billing@4u
MAIL_ENCRYPTION=null

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1

0 个答案:

没有答案