Skip to content

Commit c80e384

Browse files
Bot Updating Templated Files
1 parent f989c0e commit c80e384

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The architectures supported by this image are:
6161
## Application Setup
6262

6363
If you didn't set a password during installation, (see logs for warning) use
64-
`mysqladmin -u root password <PASSWORD>`
64+
`mariadb-admin -u root -p<PASSWORD>`
6565
to set one at the docker prompt...
6666

6767
NOTE changing the MYSQL_ROOT_PASSWORD variable after the container has set up the initial databases has no effect, use the mysqladmin tool to change your mariadb password.
@@ -102,6 +102,14 @@ We support a one time run of custom sql files on init. In order to use this plac
102102
```
103103
This will have the same effect as setting the `REMOTE_SQL` environment variable. The sql will only be run on the containers first boot and setup.
104104

105+
### Upgrading
106+
107+
When this container initializes, if `MYSQL_ROOT_PASSWORD` is set an upgrade check will run. If an upgrade is required the log will indicate the need to run:
108+
109+
```
110+
mariadb-upgrade -u root -p<PASSWORD>
111+
```
112+
105113
## Usage
106114

107115
Here are some example snippets to help you get started creating a container.
@@ -276,6 +284,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
276284

277285
## Versions
278286

287+
* **09.12.22:** - Add upgrade check warning.
279288
* **11.10.22:** - Rebase master to Alpine 3.16, migrate to s6v3, remove password escape logic which caused problems for a small subset of users.
280289
* **06.07.21:** - Rebase master to alpine.
281290
* **03.07.21:** - Rebase to 3.14.

0 commit comments

Comments
 (0)