Commit Graph

29 Commits

Author SHA1 Message Date
Alberto Roura b79c4c299e
Readme Typo when referring to pre-existing db folder (#2212) 2022-10-11 09:33:51 -07:00
Daniel Black 3e27decffa mariadb: use mariadb names instead of mysql ones
These have existed since 10.4. While 10.3 won't have these,
lets account for the common cases.
2022-09-28 09:42:53 +10:00
Daniel Black 2bac2c3dd9 mariadb: custom configuration file
Many people where custom mounting their configuration on
/etc/mysql/my.cnf overriding many other defaults. The docs
here simplify to the /etc/mysql/conf.d directory intended.

A few people are doing user@hostname configurations and
with the way skip-name-resolve is implemented in the server
it not obvious how to disable this. Added docs to clarify this,
and how to examine the final configuration.
2022-09-28 09:42:53 +10:00
Daniel Black 57498559bc mariadb: MARIADB_ROOT_PASSWORD_HASH to set of manditory vars
Order the manditory MARIADB_ROOT_PASSWORD* by decreasing strength.

Add ref MARIADB_PASSWORD_HASH to MARIADB_ROOT_PASSWORD_HASH for setting
password.
2022-09-28 08:57:08 +10:00
zSchoen e1cfa7c5f2
added _HASH envs 2022-09-22 13:13:10 +02:00
Daniel Black 9ebd59b5d4 mariadb: documentation update
This includes the new features in the release
https://mariadb.com/kb/en/mariadb-10242-release-notes/#docker-library

The Mariabackup example has been modified to use a separate container
for better isolation of backup and data.

The mariadb-backup restore method includes an example using
/docker-entrypoint-initdb.d.

Edits thanks Daniel Rudolf and Ian Gilfillan.
2022-02-16 07:29:50 +11:00
Daniel Black 37666d45c6
mariadb docs update (#2080)
* mariadb: using --port

As mentioned in #2708 docs documenting how to change the port,
particular for host networking was requested.

The example in "configuration without a cnf file section" was
already the default anyway (utf8), so this was just replaced.

Using MARIADB_ROOT_PASSWORD in the example to move away from
MySQL naming (still supported however).

Closes: #2078

* mariadb: added support for .sql.zst in /docker-entrypoint-initdb.d

This was added a while ago in https://github.com/MariaDB/mariadb-docker/pull/376

* mariadb: add Mariabackup (and restore) mechanism

gosu mysql -> --user mysql suggestion thanks @yosifkit

Closes: #MariaDB/mariadb-docker/issues/390

* mariadb: add password reset documentation

Closes: #MariaDB/mariadb-docker/issues/365

* mariadb: installing plugins

* Update mariadb/content.md

Co-authored-by: yosifkit <yosifkit@gmail.com>

* Update mariadb/content.md

Formatting on INSTALL SONAME

Co-authored-by: Tianon Gravi <admwiggin@gmail.com>

* Update mariadb/content.md

Compressed backup simplier

Co-authored-by: Tianon Gravi <admwiggin@gmail.com>

* Update mariadb/content.md

better use of apt-get arguments

Co-authored-by: Tianon Gravi <admwiggin@gmail.com>

Co-authored-by: yosifkit <yosifkit@gmail.com>
Co-authored-by: Tianon Gravi <admwiggin@gmail.com>
2021-11-24 17:15:42 -08:00
Leam Hall 2b3aa2bc6a Updated mariadb/content.md to change tags and add some helper examples. 2021-11-05 15:18:42 -07:00
Daniel Black a422863251
Mariadb update (#1889)
* mariadb: add MARIADB_* environment variables
2021-05-13 09:54:43 -07:00
Chris Reynolds f3e7df0d65 Update MariaDB docs run command 2021-03-20 13:22:04 -04:00
Daniel Black fe985dcb24
MariaDB: docs update + repo move (#1880)
* mariadb: update "What is MariaDB?"

Update description/license plege based on https://mariadb.org/about/

Update predominate users based on more recentl wikipedia links.

Drop-in compatibility is considered by many as overstepping the mark,
despite being moderately true, so limit the statement somewhat.

* mariadb: change hosting repository

* mariadb: replace logo

From https://mariadb.org/wp-content/uploads/2019/01/mariadb_org_rgb_v.png

* mariadb: reference JIRA for issues

* mariadb: content reference mariadb command line and docs

* mariadb: reference as MariaDB logs/configuration file

* mariadb: change README-short.txt

* mariadb: update maintainer

* mariadb: add get-help.md

* mariadb: *.sql.xz files initialization allowed

* mariadb: network naming from #1860
2021-02-24 16:09:10 -08:00
Joe Ferguson 5823260768 Add missing MYSQL_INITDB_SKIP_TZINFO
also make the boolean-like values more clear that a non-empty value is "true"
2020-05-28 16:21:10 -07:00
jonz94 693f41584b mysql/mariadb/percona: note a way to restore data from dump file. 2019-05-30 22:33:37 +08:00
Tianon Gravi 8925315ef8 Ditch a lot of "--link" examples (using "--network some-network" instead to force users to do more homework) 2019-03-04 17:15:55 -08:00
Tianon Gravi 1671ea2ac1 Remove SELinux specific notes
This really isn't our place to document -- this is a generic Docker issue for users of SELinux.

The official upstream documentation on the topic can be found at https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label.

There's also some good information to be found in http://jaormx.github.io/2018/selinux-and-docker-notes/ and https://www.projectatomic.io/blog/2015/06/using-volumes-with-docker-can-cause-problems-with-selinux/.
2018-09-12 13:21:18 -07:00
Tianon Gravi 6092509649 Update a few more missed bits 2017-10-09 16:18:30 -07:00
Tianon Gravi 25a5b70c1b Adjust a ton of image references (especially to use %%IMAGE%%) 2017-10-09 15:30:46 -07:00
Tianon Gravi 37ce55681e Resync mariadb and percona docs with mysql
This includes both `stack.yml` and the "Secrets" usage description.
2017-10-03 16:26:59 -07:00
Tianon Gravi 479a3b9b8b Remove mention of unsupported MYSQL_ONETIME_PASSWORD from MariaDB
See also https://github.com/docker-library/mariadb/issues/69.
2017-04-11 10:08:02 -07:00
yosifkit 98aa3cd22c clarity for mysql images; fix docker docs urls (#748)
* Added more specific info about initializing db.

Added .sql.gz to supported files and explanation to what database it will be imported.

* Fix docker docs urls for mariadb

* Fix docker docs urls for the rest of the repos

* Sync mariadb, mysql, and percona content.md
2016-11-15 14:41:41 -08:00
Tianon Gravi d19c195f84 Add some basic documentation for MYSQL_RANDOM_ROOT_PASSWORD and MYSQL_ONETIME_PASSWORD 2016-07-05 15:09:32 -07:00
Tianon Gravi 7557631a9e Replicate "mysql/content.md" note about "mysqldump" to mariadb and percona 2016-04-25 11:43:14 -07:00
Joe Ferguson 317f605b1c Add encoding hints for mysql, mariadb, and percona 2016-02-24 16:55:32 -08:00
Tianon Gravi 9b29645801 Resync mysql, mariadb, and percona descriptions 2015-10-19 08:47:06 -07:00
Joe Ferguson a9d2930a58 Sync the MySQL docs to MariaDB and Percona 2015-09-25 13:31:26 -07:00
Tianon Gravi 481f43ec2f Use explicit-type code blocks in a lot of obvious places (now that the Hub actually renders these _better_ than the no-type versions) 2015-08-13 09:29:14 -07:00
Tianon Gravi 4743f11523 Add percona based on maria, update some wording, and resync across the MySQL board 2015-03-05 16:57:28 -07:00
Tianon Gravi a71fa247d9 FORMAT ALL THE THINGS 2015-02-12 13:42:10 -07:00
Joe Ferguson 74e3b3d4d6 MariaDB docs 2014-11-25 10:13:23 -08:00