Skip to content

Commit 479a3b9

Browse files
committed
Remove mention of unsupported MYSQL_ONETIME_PASSWORD from MariaDB
See also MariaDB/mariadb-docker#69.
1 parent 3131077 commit 479a3b9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

mariadb/content.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,6 @@ This is an optional variable. Set to `yes` to allow the container to be started
118118

119119
This is an optional variable. Set to `yes` to generate a random initial password for the root user (using `pwgen`). The generated root password will be printed to stdout (`GENERATED ROOT PASSWORD: .....`).
120120

121-
### `MYSQL_ONETIME_PASSWORD`
122-
123-
Sets root (*not* the user specified in `MYSQL_USER`!) user as expired once init is complete, forcing a password change on first login. *NOTE*: This feature is supported on MySQL 5.6+ only. Using this option on MySQL 5.5 will throw an appropriate error during initialization.
124-
125121
# Initializing a fresh instance
126122

127123
When a container is started for the first time, a new database with the specified name will be created and initialized with the provided configuration variables. Furthermore, it will execute files with extensions `.sh`, `.sql` and `.sql.gz` that are found in `/docker-entrypoint-initdb.d`. Files will be executed in alphabetical order. You can easily populate your %%REPO%% services by [mounting a SQL dump into that directory](https://docs.docker.com/engine/tutorials/dockervolumes/#mount-a-host-file-as-a-data-volume) and provide [custom images](https://docs.docker.com/reference/builder/) with contributed data. SQL files will be imported by default to the database specified by the `MYSQL_DATABASE` variable.

0 commit comments

Comments
 (0)