strapi-community / strapi-tool-dockerize

Easy add support for docker to your strapi project
MIT License
543 stars 35 forks source link

There is no default-authentication-plugin parameter in Mysql 8.4 #120

Open koeppel opened 3 months ago

koeppel commented 3 months ago

🐛 Bug Report

As title says: There is no default-authentication-plugin parameter in Mysql 8.4

🤷‍♀️ What did you do

Use the tooling inside my strapi app and use mysql as a DB. When running the docker image the mysql DB is not able to start due to the below error.

⛔️ Error log

unknown variable 'default-authentication-plugin=mysql_native_password'.

🙇‍♀️ Expected behavior/code

The mysql DB image starts w/o any issues and uses the current commands

💡 Possible Solution

Use the new command: https://github.com/strapi-community/strapi-tool-dockerize/pull/119

Eventyret commented 3 months ago

It's suggested to use 5.7 mostly . Currently rewriting the tool so keeping this open for testing

koeppel commented 3 months ago

Thanks for the reply, I'm wondering why is the version then set to mysql:latest?