could not find driver (SQL: select code example
Example 1: could not find driver (SQL: SHOW FULL TABLES WHERE table_type = 'BASE TABLE')
You might need to comment out the following in your php.ini file.
;extension=pdo_mysql.so
Other solution might be you may have a missing dependency
If you can, run :
composer update
composer require doctrine/dbal
Example 2: illuminate database queryexception could not find driver (sql select * from
sudo apt-get install php5.6-mysql/php7.2-mysql
sudo apt-cache serch drivername
Example 3: PDOException::("could not find driver") windows
extension=php_pdo_mysql.dll
Example 4: illuminate database queryexception could not find driver laravel
sudo apt-get install php-sqlite3