Skip to content

Instantly share code, notes, and snippets.

View acrylic-style's full-sized avatar
💛

Acrylic Style acrylic-style

💛
View GitHub Profile
@acrylic-style
acrylic-style / root-password-MariaDB-docker-compose.md
Last active September 28, 2022 14:37 — forked from rordi/root-password-MariaDB-docker-compose.md
Change root password in MariaDB Docker container running with docker-compose

Change root password in MariaDB Docker container running with docker-compose

Override the entrypoint in docker-compose.yml for the MariaDB Docker container by adding:

entrypoint: mysqld_safe --skip-grant-tables --user=mysql

The start up the Docker Compose stack: