From 08aeca675c8932a85b5a7cc53d24756dcf4fda07 Mon Sep 17 00:00:00 2001 From: yordandv Date: Thu, 7 Dec 2017 18:52:29 +0200 Subject: [PATCH 1/2] Add "url" key in dbal configuration "url" key exist in default doctrine configuration created from flex (doctrine.yaml) --- reference/configuration/doctrine.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/reference/configuration/doctrine.rst b/reference/configuration/doctrine.rst index fd3cc0fd576..f490607c940 100644 --- a/reference/configuration/doctrine.rst +++ b/reference/configuration/doctrine.rst @@ -300,6 +300,7 @@ The following block shows all possible configuration keys: user: user password: secret driver: pdo_mysql + url: mysql://db_user:db_password@127.0.0.1:3306/db_name # the DBAL driverClass option driver_class: App\DBAL\MyDatabaseDriver # the DBAL driverOptions option From 01428d2be4be3227d0e12926ee430267cad48e6b Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Tue, 12 Dec 2017 21:24:50 -0500 Subject: [PATCH 2/2] adding note to config --- reference/configuration/doctrine.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/reference/configuration/doctrine.rst b/reference/configuration/doctrine.rst index f490607c940..b8301d7429e 100644 --- a/reference/configuration/doctrine.rst +++ b/reference/configuration/doctrine.rst @@ -300,6 +300,7 @@ The following block shows all possible configuration keys: user: user password: secret driver: pdo_mysql + # if the url option is specified, it will override the above config url: mysql://db_user:db_password@127.0.0.1:3306/db_name # the DBAL driverClass option driver_class: App\DBAL\MyDatabaseDriver