質問編集履歴

1

my.iniの内容を追加

2018/11/02 02:01

投稿

kaya_miyoshi
kaya_miyoshi

スコア23

test CHANGED
File without changes
test CHANGED
@@ -55,3 +55,219 @@
55
55
 
56
56
 
57
57
  my.iniの変更では文字コードが変わりません。どうすれば文字コードが変わりますか?
58
+
59
+
60
+
61
+ ー my.ini(途中まで) ー
62
+
63
+
64
+
65
+ ```
66
+
67
+ # Other default tuning values
68
+
69
+ # MySQL Server Instance Configuration File
70
+
71
+ # ----------------------------------------------------------------------
72
+
73
+ # Generated by the MySQL Server Instance Configuration Wizard
74
+
75
+ #
76
+
77
+ #
78
+
79
+ # Installation Instructions
80
+
81
+ # ----------------------------------------------------------------------
82
+
83
+ #
84
+
85
+ # On Linux you can copy this file to /etc/my.cnf to set global options,
86
+
87
+ # mysql-data-dir/my.cnf to set server-specific options
88
+
89
+ # (@localstatedir@ for this installation) or to
90
+
91
+ # ~/.my.cnf to set user-specific options.
92
+
93
+ #
94
+
95
+ # On Windows you should keep this file in the installation directory
96
+
97
+ # of your server (e.g. C:\Program Files\MySQL\MySQL Server X.Y). To
98
+
99
+ # make sure the server reads the config file use the startup option
100
+
101
+ # "--defaults-file".
102
+
103
+ #
104
+
105
+ # To run the server from the command line, execute this in a
106
+
107
+ # command line shell, e.g.
108
+
109
+ # mysqld --defaults-file="C:\Program Files\MySQL\MySQL Server X.Y\my.ini"
110
+
111
+ #
112
+
113
+ # To install the server as a Windows service manually, execute this in a
114
+
115
+ # command line shell, e.g.
116
+
117
+ # mysqld --install MySQLXY --defaults-file="C:\Program Files\MySQL\MySQL Server X.Y\my.ini"
118
+
119
+ #
120
+
121
+ # And then execute this in a command line shell to start the server, e.g.
122
+
123
+ # net start MySQLXY
124
+
125
+ #
126
+
127
+ #
128
+
129
+ # Guidelines for editing this file
130
+
131
+ # ----------------------------------------------------------------------
132
+
133
+ #
134
+
135
+ # In this file, you can use all long options that the program supports.
136
+
137
+ # If you want to know the options a program supports, start the program
138
+
139
+ # with the "--help" option.
140
+
141
+ #
142
+
143
+ # More detailed information about the individual options can also be
144
+
145
+ # found in the manual.
146
+
147
+ #
148
+
149
+ # For advice on how to change settings please see
150
+
151
+ # http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html
152
+
153
+ #
154
+
155
+ #
156
+
157
+ # CLIENT SECTION
158
+
159
+ # ----------------------------------------------------------------------
160
+
161
+ #
162
+
163
+ # The following options will be read by MySQL client applications.
164
+
165
+ # Note that only client applications shipped by MySQL are guaranteed
166
+
167
+ # to read this section. If you want your own MySQL client program to
168
+
169
+ # honor these values, you need to specify it as an option during the
170
+
171
+ # MySQL client library initialization.
172
+
173
+ #
174
+
175
+ [client]
176
+
177
+
178
+
179
+ # pipe=
180
+
181
+
182
+
183
+ # socket=MYSQL
184
+
185
+
186
+
187
+ port=3306
188
+
189
+
190
+
191
+ default-character-set=utf8
192
+
193
+
194
+
195
+ [mysql]
196
+
197
+ no-beep
198
+
199
+
200
+
201
+ default-character-set=utf8
202
+
203
+
204
+
205
+ # SERVER SECTION
206
+
207
+ # ----------------------------------------------------------------------
208
+
209
+ #
210
+
211
+ # The following options will be read by the MySQL Server. Make sure that
212
+
213
+ # you have installed the server correctly (see above) so it reads this
214
+
215
+ # file.
216
+
217
+ #
218
+
219
+ # server_type=3
220
+
221
+ [mysqld]
222
+
223
+
224
+
225
+ character-set-server=utf8
226
+
227
+
228
+
229
+ # The next three options are mutually exclusive to SERVER_PORT below.
230
+
231
+ # skip-networking
232
+
233
+ # enable-named-pipe
234
+
235
+ # shared-memory
236
+
237
+
238
+
239
+ # shared-memory-base-name=MYSQL
240
+
241
+
242
+
243
+ # The Pipe the MySQL Server will use
244
+
245
+ # socket=MYSQL
246
+
247
+
248
+
249
+ # The TCP/IP Port the MySQL Server will listen on
250
+
251
+ port=3306
252
+
253
+
254
+
255
+ # Path to installation directory. All paths are usually resolved relative to this.
256
+
257
+ # basedir="C:/Program Files/MySQL/MySQL Server 8.0/"
258
+
259
+
260
+
261
+ # Path to the database root
262
+
263
+ datadir=C:/ProgramData/MySQL/MySQL Server 8.0/Data
264
+
265
+
266
+
267
+ # The default character set that will be used when a new schema or table is
268
+
269
+ # created and no character set is defined
270
+
271
+ # character-set=utf8
272
+
273
+ ```