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
Depending on the operating system you want to use follow these directions: https://docs.docker.com/install/
122
+
123
+
Note: According to the MySQL Docker help page you cannot set the value 'MYSQL_HOST=localhost' as it casues issue. So far I have not had an issue leaving it out of the configuration.
124
+
125
+
### 2. Create MySQL container (if MySQL version 7 or earlier)
126
+
127
+
```
128
+
docker run --name mysql \
129
+
-p 3306:3306 \
130
+
--restart always \
131
+
-v /docker/mysql/datadir:/var/lib/mysql \
132
+
-e MYSQL_ROOT_PASSWORD=CHANGEMEPLEASE \
133
+
-e MYSQL_DATABASE=ummorpg \
134
+
-e MYSQL_USER=ummorpg \
135
+
-e MYSQL_PASSWORD=db_password \
136
+
-d mysql:5.7.24 \
137
+
--character-set-server=utf8mb4 \
138
+
--collation-server=utf8mb4_unicode_ci
139
+
```
140
+
141
+
### 3. Create MySQL container (if MySQL 8 or later) THIS IS UNTESTED AT THIS TIME.
0 commit comments