|Date Added:||4 December 2004|
|File Size:||41.70 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
I have a bad experience while installing laravel.
Sign up using Facebook. Data is being fetched perfectly from the mysql tables. You can use sudo apt-get install php7-mysql or sudo apt-get install php5-mysql or sudo apt-get install php-mysql This worked for me. Welcome to Server Fault! Please sign in or create an account to participate in this conversation.
Home Questions Tags Users Unanswered. Do i need to reinstall mysql?
php artisan migrate : PDOException could not find driver
Noh us to email you occasionally with Laracasts news? Vamshi Vangapally 4 12 If not then you will need to amend your php.
Look at your phpinfo if the driver is enabled. Sign up using Facebook. Use Markdown with GitHub-flavored code blocks. Sagar Koshti 31 3. 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.
php artisan migrate "[PDOException] could not find driver" problem
You only need to use your installed PHP version, mine is 7. All for the price of one lunch out per month.
php artisan migrate “[PDOException] could not find driver” problem
Have you restarted the webserver after making the appropriate changes to the PHP ini file? Mlgrate usually lives in the same directory as the PHP exe but thats on windows, not sure where it would be on a mac.
This worked with me: Had the same issue and just figured, website is running under MAMP’s php, but when you call in command, it runs mac’s if no bash path modified. Sign up or log in Sign up using Google. In my case, after updating my php version from 5.
On running php artisan migrate command, it shows:. I think you missed the mysql driver for php5. This installed sqlite for php5, then I ran the php artisan migrate command again and worked perfectly.
php artisan migrate gives me an error could not find driver
I had installed mysql and php artisan migrate worked after i changed that line to this:. Post as a guest Name. I found the proper solution for this error!