I'been trying to migrate in Laravel, however it returned the following error.
$ php artisan migrate
[PDOException]
could not find driver
I've check the several questions, methiond with PDOException could not find driver
, however I have not solved the problem yet.
My development environment is following. Could you tell me how to solve the problem?
- OSX10.11
- PHP:5.5.31
- Laravel:5.2
- Mysql
The following is .env
file.
APP_ENV=local
APP_DEBUG=true
APP_KEY=SomeRandomString
DB_HOST=127.0.0.1
DB_DATABASE=hoge_db
DB_USERNAME=root
DB_PASSWORD=fuga
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379