You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-1
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ The architectures supported by this image are:
61
61
## Application Setup
62
62
63
63
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>`
65
65
to set one at the docker prompt...
66
66
67
67
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
102
102
```
103
103
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.
104
104
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
+
105
113
## Usage
106
114
107
115
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
276
284
277
285
## Versions
278
286
287
+
***09.12.22:** - Add upgrade check warning.
279
288
***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.
0 commit comments