質問編集履歴

2

誤字

2018/08/14 04:33

投稿

sskcomjp30
sskcomjp30

スコア6

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%';で表示して確認してみたのですが、character_set_clientとcharacter_set_connectionの文字コードはcp932のままです。
5
+ my.iniで文字コードをutf8に変更しmysqlを再起動し、show variables like 'char%';で表示して確認してみたのですが、character_set_clientとcharacter_set_connectionの文字コードはcp932のままです。
6
6
 
7
7
 
8
8
 

1

書式の改善

2018/08/14 04:33

投稿

sskcomjp30
sskcomjp30

スコア6

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