Let doctrine detect its driver and db_version automatically.

This commit is contained in:
Jan Böhmer 2019-11-23 18:01:45 +01:00
parent 1ae905ae78
commit 9c22149afd
2 changed files with 4 additions and 3 deletions

View file

@ -8,8 +8,10 @@ parameters:
doctrine:
dbal:
# configure these for your database server
driver: 'pdo_mysql'
server_version: '%env(string:default:db_version_fallback:DB_VERSION)%'
# Doctrine should be able to detect these settings automatically, so just override them if you getting errors.
#driver: 'pdo_mysql'
#server_version: '5.6'
charset: utf8mb4
default_table_options:
charset: utf8mb4