Answers for "could not find driver (SQL: select * from information_schema.tables where table_schema = homestead and table_name = migrations)"

SQL
1

could not find driver (SQL: select * from information_schema.tables where table_schema = francis_koopmart and table_name = migrations and table_type = 'BASE TABLE')

If your php.ini file exists then in configuration file simply uncomment the extension:

;extension=php_pdo_mysql.dll 

Else follow below steps

step1:php -v

step2: Install php mysql extension

php 7.0 sudo apt-get install php7.0-mysql

php 7.1 sudo apt-get install php7.1-mysql

php 7.2 sudo apt-get install php7.2-mysql

php 7.3 sudo apt-get install php7.3-mysql

step3: service apache2 restart

step4: php artisan migrate
Posted by: Guest on October-10-2020
0

could not find driver (SQL: select * from information_schema.table

#In your php.ini configuration file simply uncomment the extension
;extension=php_pdo_mysql.dll
#in ubuntu, you can run
sudo apt-get install php8.0-pdo-mysql

#I recommend wsl for windows users
Posted by: Guest on April-12-2021
1

could not find driver (SQL: select * from information_schema.tables where table_schema = blog and table_name = migrations and table_type = 'BASE TABLE')

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.
Posted by: Guest on August-23-2021
3

could not find driver (SQL: select * from information_schema.tables where table_schema = pics and table_name = migrations and table_type = 'BASE TABLE')

just uncomment
;extension=pdo_mysql.dll
in the php.ini file
Posted by: Guest on February-05-2021

Code answers related to "could not find driver (SQL: select * from information_schema.tables where table_schema = homestead and table_name = migrations)"

Code answers related to "SQL"

Browse Popular Code Answers by Language