Skip to content

Commit b33e19d

Browse files
author
Sameer Naik
committed
release 5.7.24
1 parent dd750f0 commit b33e19d

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

Changelog.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
**latest**
3+
**5.7.24**
44
- update base image to ubuntu:bionic-20181204
55
- upgrade to mysql-server 5.7.24
66

README.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Automated builds of the image are available on [Dockerhub](https://hub.docker.co
6161
> **Note**: Builds are also available on [Quay.io](https://quay.io/repository/sameersbn/mysql)
6262
6363
```bash
64-
docker pull sameersbn/mysql:5.7.22-1
64+
docker pull sameersbn/mysql:5.7.24
6565
```
6666

6767
Alternately you can build the image yourself.
@@ -75,13 +75,13 @@ docker build -t sameersbn/mysql github.com/sameersbn/docker-mysql
7575
Run the mysql image
7676

7777
```bash
78-
docker run --name mysql -d sameersbn/mysql:5.7.22-1
78+
docker run --name mysql -d sameersbn/mysql:5.7.24
7979
```
8080

8181
You can access the mysql server as the root user using the following command:
8282

8383
```bash
84-
docker run -it --rm --volumes-from=mysql sameersbn/mysql:5.7.22-1 mysql -uroot
84+
docker run -it --rm --volumes-from=mysql sameersbn/mysql:5.7.24 mysql -uroot
8585
```
8686

8787
# Data Store
@@ -99,7 +99,7 @@ The updated run command looks like this.
9999

100100
```
101101
docker run --name mysql -d \
102-
-v /opt/mysql/data:/var/lib/mysql sameersbn/mysql:5.7.22-1
102+
-v /opt/mysql/data:/var/lib/mysql sameersbn/mysql:5.7.24
103103
```
104104

105105
This will make sure that the data stored in the database is not lost when the image is stopped and started again.
@@ -121,22 +121,22 @@ To create a new database specify the database name in the `DB_NAME` variable. Th
121121
122122
```bash
123123
docker run --name mysql -d \
124-
-e 'DB_NAME=dbname' sameersbn/mysql:5.7.22-1
124+
-e 'DB_NAME=dbname' sameersbn/mysql:5.7.24
125125
```
126126
127127
You may also specify a comma separated list of database names in the `DB_NAME` variable. The following command creates two new databases named *dbname1* and *dbname2*
128128

129129
```bash
130130
docker run --name mysql -d \
131-
-e 'DB_NAME=dbname1,dbname2' sameersbn/mysql:5.7.22-1
131+
-e 'DB_NAME=dbname1,dbname2' sameersbn/mysql:5.7.24
132132
```
133133

134134
To create a new user you should specify the `DB_USER` and `DB_PASS` variables.
135135

136136
```bash
137137
docker run --name mysql -d \
138138
-e 'DB_USER=dbuser' -e 'DB_PASS=dbpass' -e 'DB_NAME=dbname' \
139-
sameersbn/mysql:5.7.22-1
139+
sameersbn/mysql:5.7.24
140140
```
141141

142142
The above command will create a user *dbuser* with the password *dbpass* and will also create a database named *dbname*. The *dbuser* user will have full/remote access to the database.
@@ -152,7 +152,7 @@ By default the new database will be created with the `utf8` character set and `u
152152
docker run --name mysql -d \
153153
-e 'DB_USER=dbuser' -e 'DB_PASS=dbpass' -e 'DB_NAME=dbname' \
154154
-e 'MYSQL_CHARSET=utf8mb4' -e 'MYSQL_COLLATION=utf8_bin' \
155-
sameersbn/mysql:5.7.22-1
155+
sameersbn/mysql:5.7.24
156156
```
157157

158158
# Creating remote user with privileged access
@@ -162,7 +162,7 @@ To create a remote user with privileged access, you need to specify the `DB_REMO
162162
```bash
163163
docker run --name mysql -d \
164164
-e 'DB_REMOTE_ROOT_NAME=root' -e 'DB_REMOTE_ROOT_PASS=secretpassword' \
165-
sameersbn/mysql:5.7.22-1
165+
sameersbn/mysql:5.7.24
166166
```
167167

168168
Optionally you can specify the `DB_REMOTE_ROOT_HOST` variable to define the address space within which remote access should be permitted. This defaults to `172.17.0.1` and should suffice for most cases.
@@ -211,11 +211,11 @@ docker stop mysql
211211
- **Step 2**: Update the docker image.
212212

213213
```bash
214-
docker pull sameersbn/mysql:5.7.22-1
214+
docker pull sameersbn/mysql:5.7.24
215215
```
216216

217217
- **Step 3**: Start the image
218218

219219
```bash
220-
docker run --name mysql -d [OPTIONS] sameersbn/mysql:5.7.22-1
220+
docker run --name mysql -d [OPTIONS] sameersbn/mysql:5.7.24
221221
```

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.7.22-1
1+
5.7.24

0 commit comments

Comments
 (0)