LARAVEL MIGRATE PDOEXCEPTION COULD NOT FIND DRIVER

This installed sqlite for php5, then I ran the php artisan migrate command again and worked perfectly. I had installed mysql and php artisan migrate worked after i changed that line to this: As far as I can see my Nginx instance has PDO enabled and supporting mysql which is what I'm using on my local machine. Sign up using Facebook. Recent versions of Ubuntu do not contain this package.
Uploader: Nijind
Date Added: 5 May 2013
File Size: 68.90 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 58203
Price: Free* [*Free Regsitration Required]





You are missing a PDO driver. It turns out I needed the PDO extension on my local machine, not the vagrant box sudo apt-get install php5-mysql Following that we need to adjust our.

For some reason, it updated the php cli to 7. Ran into the same issue here, and turns out this is because PHP at the command line uses a different php. What could be the problem? Hemen Ashodia 2 Post Your Answer Discard By clicking "Post Your Answer", you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. Do i need to reinstall mysql? Sign up using Email and Password.

Generally your extension directory would be where you installed PHP under in. Did you know that, in addition to the forum, Laracasts includes well over lessons on modern web development? By clicking "Post Your Answer", you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

Once you've found that, modify it with the pdo extensions you want in this mot for MySQL: Want us to email you occasionally with Laracasts news?

Larabel you are using Laravel 5. Home Questions Tags Users Unanswered. I'm unsing ubuntu This worked for me: By clicking "Post Your Answer", you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

nginx - PDOException could not find driver - Homestead Laravel - Server Fault

I followed the instructions from here and did: I followed the instructions from here and did:. I have a bad experience while installing laravel. I got this error for the PostgreSQL and the solution is: This has fixed the issue for PostgreSQL.

Hi, Have We Met Yet? How can I check if that file exists in extension directory? Or, for any other users that are on Windows using some kind of WAMP server, it probably looks like this instead:.

Post Your Answer Discard By clicking "Post Your Answer", you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies. Robin Wang 4 Can someone pdoexceptoon help resolving this.

php artisan migrate error: [PDOException] could not find driver

Sign up using Email and Password. Now there is some problem with Laravel projects using mysql.

Email Required, but never shown. Sign up using Facebook. Sagar Koshti 31 3.

Comments

Popular Posts