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
Today i noticed, you can omit database_host and database_port inside parameters.yml to let Doctrine use /run/mysqld/mysqld.sock, or what ever is configured in php.ini's mysqli section, instead.
I assume it would be great to either add database_unix_socket and / or database_dca to parameters.yml in future Contao Versions, as well as document that this Fallback can be used to gain access to the default or php.ini configured UDS.
This Documentation would have saved me quite some Time today.
The text was updated successfully, but these errors were encountered:
Today i noticed, you can omit
database_host
anddatabase_port
insideparameters.yml
to let Doctrine use/run/mysqld/mysqld.sock
, or what ever is configured in php.ini's mysqli section, instead.https://github.com/doctrine/dbal/blob/16878650d79934c31e27a13618ed6f3effee80d8/lib/Doctrine/DBAL/Driver/Mysqli/MysqliConnection.php#L67
I assume it would be great to either add
database_unix_socket
and / ordatabase_dca
toparameters.yml
in future Contao Versions, as well as document that this Fallback can be used to gain access to the default or php.ini configured UDS.This Documentation would have saved me quite some Time today.
The text was updated successfully, but these errors were encountered: