Connection test failed: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol

Hi all.

I’ve got this problem bootstraping Strapi v4 with the CLI using MySQL (v8.4.2 - LTS) in a Docker Container with compose and I’ve set the command: ["mysqld", "--mysql-native-password=ON"] .

CLI: pnpm dlx strapi new strapi-v4-experiments

I’ve also tried using the root user and the root password.

What am I missing here?

This topic has been created from a Discord post (1292063285041954908) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

postgresql working fine…

solved it. installing create-strapi-app v4 globally with yarn. then using that to bootstrap it.

I’ve managed to get the bootsrap done and when trying to run it the same error comes up for mysql but postgres is fine