Skip to content

Commit 9069fc6

Browse files
committed
Correct use of password parameter
1 parent 14404a1 commit 9069fc6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

readme-vars.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ optional_block_1: false
5353
app_setup_block_enabled: true
5454
app_setup_block: |
5555
If you didn't set a password during installation, (see logs for warning) use
56-
`mysqladmin -u root password <PASSWORD>`
56+
`mariadb-admin -u root -p<PASSWORD>`
5757
to set one at the docker prompt...
5858
5959
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.
@@ -99,7 +99,7 @@ app_setup_block: |
9999
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:
100100
101101
```
102-
mariadb-upgrade -u root password <PASSWORD>
102+
mariadb-upgrade -u root -p<PASSWORD>
103103
```
104104
105105
# changelog

root/etc/s6-overlay/s6-rc.d/init-mariadb-initdb/run

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ EONEWSQL
106106
# No root password or too short a password, min of 4 characters #
107107
# No root password will be set, this is not a good thing #
108108
# You shoud set one after initialisation with the command #
109-
# mariadb-admin -u root password <PASSWORD> #
109+
# mariadb-admin -u root -p<PASSWORD> #
110110
#################################################################
111111

112112

@@ -133,7 +133,7 @@ else
133133

134134
#################################################################
135135
# An upgrade is required on your databases. Run the command #
136-
# mariadb-upgrade -u root password <PASSWORD> #
136+
# mariadb-upgrade -u root -p<PASSWORD> #
137137
#################################################################
138138

139139

0 commit comments

Comments
 (0)