aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config/config.yml
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-04-10 15:34:32 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-04-10 15:34:32 +0200
commit69c21157baa16ac838d408607856dd653da919d8 (patch)
tree63b19ff0abe92a73ab8156409870297dbfdef274 /app/config/config.yml
parent615fc1d237a5b6f6ee1b9a1f7cea31f0738dae02 (diff)
downloadwallabag-69c21157baa16ac838d408607856dd653da919d8.tar.gz
wallabag-69c21157baa16ac838d408607856dd653da919d8.tar.zst
wallabag-69c21157baa16ac838d408607856dd653da919d8.zip
Force server version to avoid connexion error
When installing a new project with MySQL, if the database doesn't exist before installation will fail because DBAL will try to get the server version by querying it. And since this query is done using the default database connexion and since the database doesn't exist, DBAL can't connect to the server.
Diffstat (limited to 'app/config/config.yml')
-rw-r--r--app/config/config.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/config/config.yml b/app/config/config.yml
index a8766694..86188455 100644
--- a/app/config/config.yml
+++ b/app/config/config.yml
@@ -82,6 +82,7 @@ doctrine:
82 password: "%database_password%" 82 password: "%database_password%"
83 charset: UTF8 83 charset: UTF8
84 path: "%database_path%" 84 path: "%database_path%"
85 server_version: 5.6
85 86
86 orm: 87 orm:
87 auto_generate_proxy_classes: "%kernel.debug%" 88 auto_generate_proxy_classes: "%kernel.debug%"