dreamfactorysoftware / df-docker

Docker container for DreamFactory.
59 stars 56 forks source link

mysql docker image must be fixed to 5.7 #48

Closed GabrielNicolasAvellaneda closed 5 years ago

GabrielNicolasAvellaneda commented 6 years ago

If we don't specify the mysql image version it will default to latest tag which at this time is version 5.8 and has some incompatible changes.

Basically this is related to changes in the default authentication plugin and until we update the Laravel framework configuration, the dreamfactory web app will fail the installation process with an error of "The server requested authentication method unknown to the client"

So, fixing the mysql version to 5.7, is the quickest change to get these docker containers working.

Please see https://github.com/laravel/framework/issues/19522 and https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-4.html for more details.

wjgilmore commented 5 years ago

Thank you for the PR. We've recently merged this in via a separate branch by way of one of our developers.