i am trying to create a database within my symfony3.4 but i am always facing the same error;
` In AbstractMySQLDriver.php line 115:
An exception occured in driver: could not find driver
In PDOConnection.php line 47:
could not find driver
In PDOConnection.php line 43:
could not find driver`
i try to configure the php.ini but still the same problem, i used the documentation to configure my parameter.yml and config.yml
parameter.yml
# This file is auto-generated during the composer install
parameters:
database_host: 127.0.0.1
database_port: null
database_name: symfony
database_user: root
database_password: null
mailer_transport: smtp
mailer_host: 127.0.0.1
mailer_user: null
mailer_password: null
secret: ThisTokenIsNotSoSecretChangeIt
config.yml(the doctrine part)
# Doctrine Configuration
doctrine:
dbal:
driver: pdo_mysql
host: '%database_host%'
port: '%database_port%'
dbname: '%database_name%'
user: '%database_user%'
password: '%database_password%'
charset: UTF8
# if using pdo_sqlite as your database driver:
# 1. add the path in parameters.yml
# e.g. database_path: '%kernel.project_dir%/var/data/data.sqlite'
# 2. Uncomment database_path in parameters.yml.dist
# 3. Uncomment next line:
#path: '%database_path%'
and yes i know that is better to work with the latest version but i am just an employee and i am ordered to use this version: symfony 3.4 php: 7.4.9
ALSO i am using xampp on windows