]> git.immae.eu Git - github/wallabag/wallabag.git/commit - src/Wallabag/CoreBundle/Command/InstallCommand.php
Force server version to avoid connexion error 1903/head
authorJeremy Benoist <jeremy.benoist@gmail.com>
Sun, 10 Apr 2016 13:34:32 +0000 (15:34 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Sun, 10 Apr 2016 13:34:32 +0000 (15:34 +0200)
commit69c21157baa16ac838d408607856dd653da919d8
tree63b19ff0abe92a73ab8156409870297dbfdef274
parent615fc1d237a5b6f6ee1b9a1f7cea31f0738dae02
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
src/Wallabag/CoreBundle/Command/InstallCommand.php