diff --git a/reference/configuration/doctrine.rst b/reference/configuration/doctrine.rst index 1a58cfaeaa0..8ce3a436dcd 100644 --- a/reference/configuration/doctrine.rst +++ b/reference/configuration/doctrine.rst @@ -203,7 +203,7 @@ Full Default Configuration password="secret" driver="pdo_mysql" driver-class="MyNamespace\MyDriverImpl" - path="%kernel.data_dir%/data.sqlite" + path="%kernel.root_dir%/../var/data/data.sqlite" memory="true" unix-socket="/tmp/mysql.sock" wrapper-class="MyDoctrineDbalConnectionWrapper" @@ -431,7 +431,7 @@ The following block shows all possible configuration keys: password="secret" driver="pdo_mysql" driver-class="MyNamespace\MyDriverImpl" - path="%kernel.data_dir%/data.sqlite" + path="%kernel.root_dir%/../var/data/data.sqlite" memory="true" unix-socket="/tmp/mysql.sock" wrapper-class="MyDoctrineDbalConnectionWrapper"