Skip to content
This repository was archived by the owner on Nov 29, 2020. It is now read-only.

Commit 7ea2aed

Browse files
committed
Merge pull request #51 from jstanden/master
Minor README.md proofreading.
2 parents e4f60f0 + fd60db7 commit 7ea2aed

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ You will see an output like the following:
3535
mysql -uadmin -p47nnf4FweaKu -h<host> -P<port>
3636

3737
Please remember to change the above password as soon as possible!
38-
MySQL user 'root' has no password but only allows local connections
38+
MySQL user 'root' has no password but only allows local connections.
3939
========================================================================
4040

4141
In this case, `47nnf4FweaKu` is the password allocated to the `admin` user.
4242

43-
Remember that the `root` user has no password but it's only accessible from within the container.
43+
Remember that the `root` user has no password, but it's only accessible from within the container.
4444

4545
You can now test your deployment:
4646

@@ -76,7 +76,7 @@ This will mount the local folder `/path/in/host` inside the docker in `/var/lib/
7676

7777
Remember that this will mean that your host must have `/path/in/host` available when you run your docker image!
7878

79-
After this you can start your mysql image but this time using `/path/in/host` as the database folder:
79+
After this you can start your MySQL image, but this time using `/path/in/host` as the database folder:
8080

8181
docker run -d -p 3306:3306 -v /path/in/host:/var/lib/mysql tutum/mysql
8282

@@ -114,7 +114,7 @@ To import a SQL backup which is stored for example in the folder `/tmp` in the h
114114

115115
sudo docker run -d -v /tmp:/tmp tutum/mysql /bin/bash -c "/import_sql.sh <user> <pass> /tmp/<dump.sql>"
116116

117-
Also you can start the new database initializing it with the SQL file:
117+
Also, you can start the new database initializing it with the SQL file:
118118

119119
sudo docker run -d -v /path/in/host:/var/lib/mysql -e STARTUP_SQL="/tmp/<dump.sql>" tutum/mysql
120120

@@ -134,17 +134,18 @@ Examples:
134134
-
135135
docker run -d -e REPLICATION_SLAVE=true -p 3307:3306 --link mysql:mysql tutum/mysql
136136

137-
Now, you can access port `3306` and `3307` for the master/slave mysql
137+
Now you can access port `3306` and `3307` for the master/slave MySQL.
138+
138139
Environment variables
139140
---------------------
140141

141-
`MYSQL_USER`: Set a specific username for the admin account (default 'admin')
142+
`MYSQL_USER`: Set a specific username for the admin account (default 'admin').
142143

143144
`MYSQL_PASS`: Set a specific password for the admin account.
144145

145-
`STARTUP_SQL`: Defines one or more sql scripts separated by spaces to initialize the database. Note that the scripts must be inside the conainer so you may need to mount them
146+
`STARTUP_SQL`: Defines one or more SQL scripts separated by spaces to initialize the database. Note that the scripts must be inside the container, so you may need to mount them.
146147

147148
Compatibility Issues
148149
--------------------
149150

150-
- Volume created by MySQL 5.6 cannot be used in MySQL 5.5 Images or MariaDB images
151+
- Volume created by MySQL 5.6 cannot be used in MySQL 5.5 Images or MariaDB images.

0 commit comments

Comments
 (0)