Add documentation on the MYSQL_VERSION variable.
This commit is contained in:
parent
7ec8b8846e
commit
fe38f0c2ff
@ -1026,6 +1026,26 @@ To change the default forwarded port for ssh:
|
||||
|
||||
|
||||
|
||||
<br>
|
||||
<a name="Change-the-MySQL-Version"></a>
|
||||
## Change the (MySQL) Version
|
||||
By default **MySQL 8.0** is running.
|
||||
|
||||
MySQL 8.0 is a development release. You may prefer to use the latest stable version, or an even older release. If you wish, you can change the MySQL image that is used.
|
||||
|
||||
Open up your .env file and set the `MYSQL_VERSION` variable to the version you would like to install.
|
||||
|
||||
```
|
||||
MYSQL_VERSION=5.7
|
||||
```
|
||||
|
||||
Available versions are: 5.5, 5.6, 5.7, 8.0, or latest. See https://store.docker.com/images/mysql for more information.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<br>
|
||||
<a name="MySQL-access-from-host"></a>
|
||||
## MySQL access from host
|
||||
|
Loading…
Reference in New Issue
Block a user