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

后端 未结 26 1602
眼角桃花
眼角桃花 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 08:09

    Assuming you did the normal installation with virtual box, vagrant etc.. This can happen to new people. PHP can be installed on your PC but all the modules PHP for your laravel project is on your VM So to access your VM, go to your homestead folder and type: vagrant ssh

    then to go your project path and execute the php artisan migrate.

提交回复
热议问题