Skip to content

Commit dbf04d1

Browse files
authored
MariaDB update KB links and a few other minor changes (#2696)
* mariadb: ColumnStore link reduction In consultation with MariaDB's ColumnStore manager, removed link due to lack of maintaince. * mariadb: update example with more modern verison * mariadb: -ti options aren't needed for --help --verbose * mariadb: --mariadbd is supported in every current version * mariadb: Knowledge Base was replaced with MariaDB Docs With new links.
1 parent 13d03b8 commit dbf04d1

1 file changed

Lines changed: 20 additions & 21 deletions

File tree

mariadb/content.md

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -97,35 +97,35 @@ $ docker run -it --rm %%IMAGE%% mariadb --host <server container IP> --user exam
9797
That will give you a standard MariaDB prompt. You can test it with:
9898

9999
```console
100-
MariaDB [(none)]> \s
100+
MariaDB [test]> \s
101101
--------------
102-
client/mariadb Ver 15.1 Distrib 10.6.16-MariaDB, for Linux (x86_64) using EditLine wrapper
102+
mariadb from 12.3.3-MariaDB, client 15.2 for debian-linux-gnu (x86_64) using EditLine wrapper
103103

104-
Connection id: 20
104+
Connection id: 5
105105
Current database: test
106-
Current user: example-user@bark
107-
SSL: Not in use
106+
Current user: example-user@10.89.0.5
107+
SSL: Cipher in use is TLS_AES_256_GCM_SHA384, cert is OK
108108
Current pager: stdout
109109
Using outfile: ''
110110
Using delimiter: ;
111111
Server: MariaDB
112-
Server version: 10.6.16-MariaDB Source distribution
112+
Server version: 12.3.3-MariaDB-ubu2404 mariadb.org binary distribution
113113
Protocol version: 10
114-
Connection: 192.168.178.73 via TCP/IP
115-
Server characterset: latin1
116-
Db characterset: latin1
117-
Client characterset: utf8mb3
118-
Conn. characterset: utf8mb3
114+
Connection: m via TCP/IP
115+
Server characterset: utf8mb4
116+
Db characterset: utf8mb4
117+
Client characterset: utf8mb4
118+
Conn. characterset: utf8mb4
119119
TCP port: 3306
120-
Uptime: 6 min 4 sec
120+
Uptime: 3 min 7 sec
121121

122-
Threads: 1 Questions: 32 Slow queries: 0 Opens: 20 Open tables: 13 Queries per second avg: 0.087
122+
Threads: 1 Questions: 12 Slow queries: 0 Opens: 17 Open tables: 10 Queries per second avg: 0.064
123123
--------------
124124
```
125125

126126
... which will give you the version and connection information. You can then use `exit` to leave the MariaDB command line client and the client container.
127127

128-
More information about the MariaDB command-line client can be found in the [MariaDB Knowledge Base : MariaDB Command Line Client](https://mariadb.com/kb/en/mariadb-command-line-client/).
128+
More information about the MariaDB command-line client can be found in the [MariaDB Documentation : MariaDB Command Line Client](https://mariadb.com/docs/server/clients-and-utilities/mariadb-client/mariadb-command-line-client).
129129

130130
## Container shell access
131131

@@ -165,7 +165,7 @@ These disable the authentication of `user@hostname` users. To re-enable the `ski
165165
To view the resulting configuration of your `%%IMAGE%%` container:
166166

167167
```console
168-
$ docker run --name some-%%REPO%% -v /my/custom:/etc/mysql/conf.d --rm %%IMAGE%%:latest my_print_defaults --mysqld
168+
$ docker run --name some-%%REPO%% -v /my/custom:/etc/mysql/conf.d --rm %%IMAGE%%:latest my_print_defaults --mariadbd
169169
```
170170

171171
### Configuration without a `cnf` file
@@ -179,7 +179,7 @@ $ docker run --name some-%%REPO%% -e MARIADB_ROOT_PASSWORD=my-secret-pw -d %%IMA
179179
If you would like to see a complete list of available options, just run:
180180

181181
```console
182-
$ docker run -it --rm %%IMAGE%%:latest --verbose --help
182+
$ docker run --rm %%IMAGE%%:latest --verbose --help
183183
```
184184

185185
## Environment Variables
@@ -232,28 +232,27 @@ If there is no database initialized when the container starts, then a default da
232232

233233
## Health/Liveness/Readiness Checking
234234

235-
See [the "Official Images" FAQ](https://github.com/docker-library/faq#healthcheck) for why there is no default `HEALTHCHECK` directive. However, you can use the `healthcheck.sh` script to choose from a (non-exhaustive) list of tests to check for whatever you consider health/liveness/readiness. Refer to the [MariaDB Knowledge Base : Using Healthcheck.sh](https://mariadb.com/kb/en/using-healthcheck-sh-script/) to learn about how to use it and which exact tests are provided.
235+
See [the "Official Images" FAQ](https://github.com/docker-library/faq#healthcheck) for why there is no default `HEALTHCHECK` directive. However, you can use the `healthcheck.sh` script to choose from a (non-exhaustive) list of tests to check for whatever you consider health/liveness/readiness. Refer to the [MariaDB Documentation : Using Healthcheck.sh](https://mariadb.com/docs/server/server-management/automated-mariadb-deployment-and-administration/docker-and-mariadb/using-healthcheck-sh) to learn about how to use it and which exact tests are provided.
236236

237237
## Usage against an existing database
238238

239239
If you start your `%%IMAGE%%` container instance with a data directory that already contains a database (specifically, a `mysql` subdirectory), no environment variables that control initialization will be needed or examined, and no pre-existing databases will be changed. The only exception is the non-default `MARIADB_AUTO_UPGRADE` environment variable, that might cause `mysql_upgrade`/`mariadb-upgrade` to run, which might change the system tables.
240240

241241
## Backups and Restores
242242

243-
Backing up and restoring databases is important in containers too. The documentation on how to do this can be found on the [MariaDB Knowledge Base : Container Backup and Restoration](https://mariadb.com/kb/en/backups-and-restoration/).
243+
Backing up and restoring databases is important in containers too. The documentation on how to do this can be found on the [MariaDB Documentation : Container Backup and Restoration](https://mariadb.com/docs/server/server-management/automated-mariadb-deployment-and-administration/docker-and-mariadb/container-backup-and-restoration).
244244

245245
## Frequently Asked Questions / How to reset root and user passwords
246246

247-
This is documented on [MariaDB Knowledge Base : Frequenty Asked Questions of Docker Official Image](https://mariadb.com/kb/en/frequenty-asked-questions-of-docker-official-image/#how-to-reset-passwords).
247+
This is documented on [MariaDB Documentation : Frequenty Asked Questions of Docker Official Image](https://mariadb.com/docs/server/server-management/automated-mariadb-deployment-and-administration/docker-and-mariadb/docker-official-image-frequently-asked-questions#how-to-reset-passwords).
248248

249249
## How to install MariaDB plugins
250250

251-
This is documented on [MariaDB Knowledge Base : Adding Plugins to the Docker Official Image](https://mariadb.com/kb/en/adding-plugins-to-the-mariadb-docker-official-image/).
251+
This is documented on [MariaDB Documentation : Adding Plugins to the Docker Official Image](https://mariadb.com/docs/server/server-management/automated-mariadb-deployment-and-administration/docker-and-mariadb/adding-plugins-to-the-mariadb-docker-official-image).
252252

253253
# Related Images
254254

255255
- [MariaDB MaxScale](https://hub.docker.com/r/mariadb/maxscale/tags)
256-
- [MariaDB ColumnStore](https://hub.docker.com/r/mariadb/columnstore/tags)
257256

258257
# Compose File Examples
259258

0 commit comments

Comments
 (0)