Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 4.63 KB

README.md

File metadata and controls

48 lines (31 loc) · 4.63 KB

Maintained by: the MariaDB Community

This is the Git repository of the Docker "Official Image" for mariadb (not to be confused with any official mariadb image provided by MariaDB Corporation). See the Docker Hub page for the full README on how to use this Docker image and for information regarding contributing and issues.

The full image description on Docker Hub is generated/maintained over in the docker-library/docs repository, specifically in the mariadb directory.

See a change merged here that hasn't shown up on Docker Hub yet?

For more information about the full official images change lifecycle, see the "An image's source changed in Git, now what?" FAQ entry.

For outstanding mariadb image Pull Requests (PRs), check PRs with the "library/mariadb" label on the official-images repository. For the current "source of truth" for mariadb, see the library/mariadb file in the official-images repository.

FAQ

How do I reset my password?

One useful way to do this is to create an initfile.sql file that contains (to cover all bases) something like the following:

CREATE USER IF NOT EXISTS root@localhost IDENTIFIED BY 'thisismyrootpassword';
SET PASSWORD FOR root@localhost = PASSWORD('thisismyrootpassword');
GRANT ALL ON *.* TO root@localhost WITH GRANT OPTION;
CREATE USER IF NOT EXISTS root@'%' IDENTIFIED BY 'thisismyrootpassword';
SET PASSWORD FOR root@'%' = PASSWORD('thisismyrootpassword');
GRANT ALL ON *.* TO root@'%' WITH GRANT OPTION;
CREATE USER IF NOT EXISTS myuser@'%' IDENTIFIED BY 'thisismyuserpassword';
SET PASSWORD FOR myuser@'%' = PASSWORD('thisismyuserpassword');
CREATE DATABASE IF NOT EXISTS databasename;
GRANT ALL ON databasename.* TO myuser@'%';

Getting Help

If you need help with MariaDB on Docker, the Docker and MariaDB section of the MariaDB Knowledge Base contains lots of helpful info. The Knowledge Base also has a page where you can Ask a Question. Also see the Getting Help with MariaDB article.

On StackExchange, questions tagged with 'mariadb' and 'docker' on the Database Administrators (DBA) StackExchange can be found here.

If you run into any bugs or have ideas on new features you can file bug reports and feature requests on the MariaDB JIRA. File them under the "MDEV" project and "Docker" component to make sure it goes to the correct people. If you are considering submitting a feature or pull request, be sure to check out the Review Guidelines for some helpful information.


  • build status badge
Build Status Badges (per-arch)
amd64 build status badge arm64v8 build status badge ppc64le build status badge put-shared build status badge