thinkphp3.2 + mysql report can not load database driver: Think \ Db \ Driver \

Environment : thinkphp3.2 + mysql

Problem : Even with a database error DSN way: Unable to load Database Driver: Think \ Db \ Driver \, Common / Conf / config.php Lane is also equipped with 'DB_TYPE' => 'mysql' , direct way with the Model database did not even thinkphp problem, but it is given by way DSN (Db :: getInstance (C ( ' DB_DSN'));)

Temporary Solution : Due to the high version of PHP, account password database do not have special symbols , not being given the password to the database without the special symbols. Specific reasons have time to check it later

Reference : https://blog.csdn.net/qq_31617637/article/details/79917204

Published 44 original articles · won praise 28 · views 420 000 +

Guess you like

Origin blog.csdn.net/hanzengyi/article/details/83022665