strapi-tool-dockerize icon indicating copy to clipboard operation
strapi-tool-dockerize copied to clipboard

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

Open koeppel opened this issue 1 year ago • 2 comments

🐛 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

koeppel avatar Jun 23 '24 11:06 koeppel

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

Eventyret avatar Jun 23 '24 11:06 Eventyret

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

koeppel avatar Jun 23 '24 11:06 koeppel