0
votes

Using PHP 7.1.33, I was creating a new database for my project and this problem appeared to me

php bin/console doctrine:database:create
In AbstractPostgreSQLDriver.php line 79:
  An exception occurred in driver: could not find driver

In PDOConnection.php line 31:
  could not find driver

In PDOConnection.php line 27:
  could not find driver

doctrine:database:create [-s|--shard SHARD] [-c|--connection [CONNECTION]] [--if-not-exists] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--]

Add some more details, PHP version, Operating system, ...Dennis de Best
@DennisdeBest php version: PHP 7.1.33Ayoub Aloui
when i pass the command php -m pdo and pdy_mysql already appeared to me and still can't create the databaseAyoub Aloui
I see AbstractPostgreSQLDriver in the messages and pdy_mysql in your assessment - please follow yivi's hyperlink.greybeard