Ubuntu Symfony PHP PDOException “could not find driver"

This error will be thrown when you don't have MySQL installed (correctly) and the driver pdo_mysql is not available.


As you don't have mysql, proceed to install it executing the following command on a new terminal:

sudo apt-get install php-mysql

Happy coding !

This could interest you

Become a more social person