Tag Archives: how to fix driver could not found error in laravel

How to fix Laravel PDOException Could Not Find Driver error

While working on the laravel application sometimes we got an error like PDOException Could Not Find Driver error. Here, we will discuss about the solution to fix “could not find driver” or after artisan migration running you got error “Class ‘Doctrine\\DBAL\\Driver\\PDOMySql\\Driver’ not found”. Solution 1: If you do not have mysql/postgresql php module installed in your system If… Read More »