diff --git a/dev/docker-compose.yml b/dev/docker-compose.yml index cc7033fc8eae..b53cc3488c8c 100644 --- a/dev/docker-compose.yml +++ b/dev/docker-compose.yml @@ -56,11 +56,11 @@ services: - ef mysql: - image: mysql:8.0 + image: mysql:8.4 ports: - "3306:3306" command: - - --default-authentication-plugin=mysql_native_password + - --mysql-native-password=ON - --innodb-print-all-deadlocks=ON environment: MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD} diff --git a/dev/secrets.json.example b/dev/secrets.json.example index 7bf753e93834..85c9ce7a7ea5 100644 --- a/dev/secrets.json.example +++ b/dev/secrets.json.example @@ -18,7 +18,7 @@ "connectionString": "Host=localhost;Username=postgres;Password=SET_A_PASSWORD_HERE_123;Database=vault_dev;Include Error Detail=true" }, "mySql": { - "connectionString": "server=localhost;uid=root;pwd=SET_A_PASSWORD_HERE_123;database=vault_dev" + "connectionString": "server=localhost;uid=root;pwd=SET_A_PASSWORD_HERE_123;database=vault_dev;AllowPublicKeyRetrieval=true;SslMode=Preferred" }, "sqlite": { "connectionString": "Data Source=/path/to/bitwardenServer/repository/server/dev/db/bitwarden.db"