Answers for "how to fix could not find driver (SQL: PRAGMA foreign_keys = ON;)"

SQL
4

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

############# OR ##############
Other solution might be you may have a missing dependency

If you can, run :
composer update

composer require doctrine/dbal
Posted by: Guest on December-05-2020

Code answers related to "how to fix could not find driver (SQL: PRAGMA foreign_keys = ON;)"

Code answers related to "SQL"

Browse Popular Code Answers by Language