質問編集履歴
2
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
my.iniで文字コードをutf8に変更しmysqlを再起動し、show variables like 'char%';で表示して確認してみたのですが
|
5
|
+
my.iniで文字コードをutf8に変更しmysqlを再起動し、show variables like 'char%';で表示して確認してみたのですが、character_set_clientとcharacter_set_connectionの文字コードはcp932のままです。
|
6
6
|
|
7
7
|
|
8
8
|
|
1
書式の改善
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,21 +6,23 @@
|
|
6
6
|
|
7
7
|
|
8
8
|
|
9
|
-
|
9
|
+
```
|
10
10
|
|
11
|
+
# CLIENT SECTION
|
12
|
+
|
11
|
-
#
|
13
|
+
# ----------------------------------------------------------------------
|
12
14
|
|
13
15
|
#
|
14
16
|
|
15
|
-
#
|
17
|
+
# The following options will be read by MySQL client applications.
|
16
18
|
|
17
|
-
#
|
19
|
+
# Note that only client applications shipped by MySQL are guaranteed
|
18
20
|
|
19
|
-
#
|
21
|
+
# to read this section. If you want your own MySQL client program to
|
20
22
|
|
21
|
-
#
|
23
|
+
# honor these values, you need to specify it as an option during the
|
22
24
|
|
23
|
-
#
|
25
|
+
# MySQL client library initialization.
|
24
26
|
|
25
27
|
|
26
28
|
|
@@ -28,99 +30,101 @@
|
|
28
30
|
|
29
31
|
|
30
32
|
|
31
|
-
#
|
33
|
+
# pipe=
|
32
34
|
|
33
35
|
|
34
36
|
|
35
|
-
#
|
37
|
+
# socket=MYSQL
|
36
38
|
|
37
39
|
|
38
40
|
|
39
|
-
|
41
|
+
port=3306
|
40
42
|
|
41
43
|
|
42
44
|
|
43
|
-
|
45
|
+
[mysql]
|
44
46
|
|
45
|
-
|
47
|
+
no-beep
|
46
48
|
|
47
49
|
|
48
50
|
|
49
|
-
|
51
|
+
default-character-set=utf8
|
50
52
|
|
51
53
|
|
52
54
|
|
53
|
-
#
|
55
|
+
# SERVER SECTION
|
54
56
|
|
55
|
-
#
|
57
|
+
# ----------------------------------------------------------------------
|
56
58
|
|
57
59
|
#
|
58
60
|
|
59
|
-
#
|
61
|
+
# The following options will be read by the MySQL Server. Make sure that
|
60
62
|
|
61
|
-
#
|
63
|
+
# you have installed the server correctly (see above) so it reads this
|
62
64
|
|
63
|
-
#
|
65
|
+
# file.
|
64
66
|
|
65
67
|
#
|
66
68
|
|
67
|
-
#
|
69
|
+
# server_type=3
|
68
70
|
|
69
|
-
|
71
|
+
[mysqld]
|
70
72
|
|
71
73
|
|
72
74
|
|
73
|
-
#
|
75
|
+
# The next three options are mutually exclusive to SERVER_PORT below.
|
74
76
|
|
75
|
-
#
|
77
|
+
# skip-networking
|
76
78
|
|
77
|
-
#
|
79
|
+
# enable-named-pipe
|
78
80
|
|
79
|
-
#
|
81
|
+
# shared-memory
|
80
82
|
|
81
83
|
|
82
84
|
|
83
|
-
#
|
85
|
+
# shared-memory-base-name=MYSQL
|
84
86
|
|
85
87
|
|
86
88
|
|
87
|
-
#
|
89
|
+
# The Pipe the MySQL Server will use
|
88
90
|
|
89
|
-
#
|
91
|
+
# socket=mysql=MYSQL
|
90
92
|
|
91
93
|
|
92
94
|
|
93
|
-
#
|
95
|
+
# The TCP/IP Port the MySQL Server will listen on
|
94
96
|
|
95
|
-
|
97
|
+
port=3306
|
96
98
|
|
97
99
|
|
98
100
|
|
99
|
-
#
|
101
|
+
# Path to installation directory. All paths are usually resolved relative to this.
|
100
102
|
|
101
|
-
#
|
103
|
+
# basedir="C:/Program Files/MySQL/MySQL Server 8.0/"
|
102
104
|
|
103
105
|
|
104
106
|
|
105
|
-
#
|
107
|
+
# Path to the database root
|
106
108
|
|
107
|
-
|
109
|
+
datadir=C:/ProgramData/MySQL/MySQL Server 8.0/Data
|
108
110
|
|
109
111
|
|
110
112
|
|
111
|
-
#
|
113
|
+
# The default character set that will be used when a new schema or table is
|
112
114
|
|
113
|
-
#
|
115
|
+
# created and no character set is defined
|
114
116
|
|
115
|
-
|
117
|
+
character-set-server=utf8
|
116
118
|
|
117
119
|
|
118
120
|
|
119
|
-
#
|
121
|
+
# The default authentication plugin to be used when connecting to the server
|
120
122
|
|
121
|
-
|
123
|
+
default_authentication_plugin=caching_sha2_password
|
122
124
|
|
123
125
|
|
126
|
+
|
127
|
+
```
|
124
128
|
|
125
129
|
![イメージ説明](d7de09a7c047778c81ca4b91ce3b1924.png)
|
126
130
|
|