From 69c21157baa16ac838d408607856dd653da919d8 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Sun, 10 Apr 2016 15:34:32 +0200 Subject: 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. --- app/config/config.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'app/config/config.yml') 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: password: "%database_password%" charset: UTF8 path: "%database_path%" + server_version: 5.6 orm: auto_generate_proxy_classes: "%kernel.debug%" -- cgit v1.2.3