Skip to content

Commit 56f5d3a

Browse files
committed
Remove extraneous tab characters throughout
1 parent 486d377 commit 56f5d3a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

docs/Containers/MariaDB.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ You only get the opportunity to change the `MQSL_` prefixed environment variable
3939
$ docker-compose rm --force --stop -v mariadb
4040
$ sudo rm -rf ./volumes/mariadb
4141
```
42-
42+
4343
* Edit `docker-compose.yml` and change the variables.
4444
* Bring up the container:
45-
45+
4646
```
4747
$ docker-compose up -d mariadb
4848
```
@@ -79,11 +79,11 @@ The agent is invoked 30 seconds after the container starts, and every 30 seconds
7979
```
8080

8181
2. If that command succeeds, the agent compares the response returned by the command with the expected response:
82-
82+
8383
```
8484
mysqld is alive
8585
```
86-
86+
8787
3. If the command returned the expected response, the agent tests the responsiveness of the TCP port the `mysqld` daemon should be listening on (see [customising health-check](#healthCheckCustom)).
8888

8989
4. If all of those steps succeed, the agent concludes that MariaDB is functioning properly and returns "healthy".
@@ -120,7 +120,7 @@ Possible reply patterns are:
120120
NAMES STATUS
121121
mariadb Up About a minute (unhealthy)
122122
```
123-
123+
124124
### <a name="healthCheckCustom"> customising health-check </a>
125125

126126
You can customise the operation of the health-check agent by editing the `mariadb` service definition in your *Compose* file:
@@ -131,16 +131,16 @@ You can customise the operation of the health-check agent by editing the `mariad
131131
environment:
132132
- MYSQL_TCP_PORT=12345
133133
```
134-
134+
135135
Notes:
136-
136+
137137
* The `MYSQL_TCP_PORT` variable is [defined by MariaDB](https://mariadb.com/kb/en/mariadb-environment-variables/), not IOTstack, so changing this variable affects more than just the health-check agent.
138138
* If you are running "old menu", this change should be made in the file:
139139

140140
```
141141
~/IOTstack/services/mariadb/mariadb.env
142142
```
143-
143+
144144
2. The `mysqladmin ping` command relies on the root password supplied via the `MYSQL_ROOT_PASSWORD` environment variable in the *Compose* file. The command will not succeed if the root password is not correct, and the agent will return "unhealthy".
145145

146146
3. If the health-check agent misbehaves in your environment, or if you simply don't want it to be active, you can disable all health-checking for the container by adding the following lines to its service definition:
@@ -151,14 +151,14 @@ You can customise the operation of the health-check agent by editing the `mariad
151151
```
152152

153153
Note:
154-
155-
* The mere presence of a `healthcheck:` clause in the `mariadb` service definition overrides the supplied agent. In other words, the following can't be used to re-enable the supplied agent:
154+
155+
* The mere presence of a `healthcheck:` clause in the `mariadb` service definition overrides the supplied agent. In other words, the following can't be used to re-enable the supplied agent:
156156

157157
```yaml
158158
healthcheck:
159159
disable: false
160160
```
161-
161+
162162
You must remove the entire `healthcheck:` clause.
163163

164164
## Keeping MariaDB up-to-date

0 commit comments

Comments
 (0)