質問編集履歴
1
MySQLコンテナにおける文字コード設定を追加しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -20,6 +20,40 @@
|
|
20
20
|
|
21
21
|
```
|
22
22
|
|
23
|
+
MySQLコンテナにおける文字コード設定
|
24
|
+
|
25
|
+
```
|
26
|
+
|
27
|
+
mysql> show variables like "chara%";
|
28
|
+
|
29
|
+
+--------------------------+----------------------------------------------------------+
|
30
|
+
|
31
|
+
| Variable_name | Value |
|
32
|
+
|
33
|
+
+--------------------------+----------------------------------------------------------+
|
34
|
+
|
35
|
+
| character_set_client | utf8 |
|
36
|
+
|
37
|
+
| character_set_connection | utf8 |
|
38
|
+
|
39
|
+
| character_set_database | utf8 |
|
40
|
+
|
41
|
+
| character_set_filesystem | binary |
|
42
|
+
|
43
|
+
| character_set_results | utf8 |
|
44
|
+
|
45
|
+
| character_set_server | utf8 |
|
46
|
+
|
47
|
+
| character_set_system | utf8 |
|
48
|
+
|
49
|
+
| character_sets_dir | /usr/local/Cellar/mysql@5.7/5.7.31/share/mysql/charsets/ |
|
50
|
+
|
51
|
+
+--------------------------+----------------------------------------------------------+
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
```
|
56
|
+
|
23
57
|
|
24
58
|
|
25
59
|
以下にDockerFile、docker-compose.yml、mysql.confを示します。
|
@@ -86,6 +120,8 @@
|
|
86
120
|
|
87
121
|
|
88
122
|
|
123
|
+
|
124
|
+
|
89
125
|
docker-compose.yml
|
90
126
|
|
91
127
|
```
|