Adding explicit support for mysql_native_password for backward compatibility (#11)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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)",
|
||||
|
||||
Reference in New Issue
Block a user