Adding explicit support for mysql_native_password for backward compatibility (#11)

This commit is contained in:
Marco Lipparini
2025-03-28 18:31:44 +01:00
committed by GitHub
parent ea1c908461
commit 602f25e619
3 changed files with 3 additions and 1 deletions

View File

@@ -145,6 +145,7 @@ We hope you never have to use them, but just in case, here are some ENV vars you
- `LDD_SQL_REQUIRE_PRIMARY_KEY` (default: `OFF`): Whether to require primary keys to be defined for each table.
- `LDD_DEFAULT_STORAGE_ENGINE` (default: `InnoDB`): The default storage engine to use for the MySQL server.
- `LDD_EXPLICIT_DEFAULTS_FOR_TIMESTAMP` (default: `ON`): Whether to use explicit defaults for timestamp columns.
- `LDD_MYSQL_NATIVE_PASSWORD` (default: `ON`): Whether to enable the native MySQL password hashing algorithm.
#### Advanced customization

View File

@@ -10,6 +10,7 @@ services:
--sql-require-primary-key=${LDD_SQL_REQUIRE_PRIMARY_KEY:-OFF}
--default-storage-engine=${LDD_DEFAULT_STORAGE_ENGINE:-InnoDB}
--explicit_defaults_for_timestamp=${LDD_EXPLICIT_DEFAULTS_FOR_TIMESTAMP:-ON}
--mysql-native-password=${LDD_MYSQL_NATIVE_PASSWORD:-ON}
networks:
- private
volumes:

View File

@@ -1,6 +1,6 @@
{
"name": "@mep-agency/local-dev-db",
"version": "1.0.0-alpha16",
"version": "1.0.0-alpha17",
"private": false,
"type": "module",
"description": "A zero-config local MySQL instance for local development (using Docker)",