You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 29, 2020. It is now read-only.
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:
118
118
119
119
sudo docker run -d -v /path/in/host:/var/lib/mysql -e STARTUP_SQL="/tmp/<dump.sql>" tutum/mysql
120
120
@@ -134,17 +134,18 @@ Examples:
134
134
-
135
135
docker run -d -e REPLICATION_SLAVE=true -p 3307:3306 --link mysql:mysql tutum/mysql
136
136
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
+
138
139
Environment variables
139
140
---------------------
140
141
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').
142
143
143
144
`MYSQL_PASS`: Set a specific password for the admin account.
144
145
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.
146
147
147
148
Compatibility Issues
148
149
--------------------
149
150
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