You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We would like to use postgres and connect via unix socket, which is not possible right now:
doctrine:
dbal:
# configure these for your database serverdriver: 'pdo_mysql'server_version: '5.7'charset: utf8mb4default_table_options:
charset: utf8mb4collate: utf8mb4_unicode_ciurl: '%env(resolve:DATABASE_URL)%'
It seems that unix sockets are not supported when using an url to connect to a pg database (it looks like unix sockets in the url parameter are supported with mysql). And even if we don't use unix sockets, charset: utf8mb4 will break the database connection because pg does not have such charset (it's mysql specific).
I'd maybe suggest to expose more doctrine settings. This should also be backwards compatible, because if I understand it correctly the url parameter takes precedence, if set.
The text was updated successfully, but these errors were encountered:
We would like to use postgres and connect via unix socket, which is not possible right now:
It seems that unix sockets are not supported when using an url to connect to a pg database (it looks like unix sockets in the url parameter are supported with mysql). And even if we don't use unix sockets,
charset: utf8mb4
will break the database connection because pg does not have such charset (it's mysql specific).I'd maybe suggest to expose more doctrine settings. This should also be backwards compatible, because if I understand it correctly the url parameter takes precedence, if set.
The text was updated successfully, but these errors were encountered: