Artisan migrate could not find driver

[Illuminate\Database\QueryException] could not find driver (SQL: select * from information_schema.tables where table_schema = homestead and table_name = migrations) [PDOException] could not find driver


In your php.ini configuration file simply uncomment the extension:

;extension=php_pdo_mysql.dll


if you've installed php and mysql in your linux machine, php needs php-mysql extention to communicate with mysql. so make sure you've also installed this extention using:


sudo yum install php-mysql in redhat based machines.

and

sudo apt-get install php-mysql in debian machines. 

Post a Comment

Previous Post Next Post