php artisan migrate throwing [PDO Exception] Could not find driver - Using Laravel

后端 未结 26 1552
眼角桃花
眼角桃花 2020-12-01 07:41

I have a bad experience while installing laravel. However, I was able to do so and move to the next level. I used generators and created my migrations. But when I type the

26条回答
  •  一整个雨季
    2020-12-01 07:46

    I think you missed the mysql driver for php5. Execute below command:

    sudo apt-get install php5-mysql
    /etc/init.d/php5-fpm restart
    

提交回复
热议问题