質問編集履歴

3

2019/07/06 09:37

投稿

hakusa.ppl
hakusa.ppl

スコア21

test CHANGED
File without changes
test CHANGED
@@ -8,378 +8,366 @@
8
8
 
9
9
  ・MySQL サーバに接続しようとしましたが拒否されました。config.inc.php のホスト、ユーザ名、パスワードが MySQL サーバの管理者から与えられた情報と一致するか確認してください。
10
10
 
11
- ```ここに言語を入力
12
-
13
-
14
-
15
-
16
-
17
- `````````ここに言語を入力
18
-
19
- ここに言語を入力
11
+
12
+
13
+ コード
14
+
15
+ ```Example MySQL config file for small systems.
16
+
17
+ #
18
+
19
+ # This is for a system with little memory (<= 64M) where MySQL is only used
20
+
21
+ # from time to time and it's important that the mysqld daemon
22
+
23
+ # doesn't use much resources.
24
+
25
+ #
26
+
27
+ # You can copy this file to
28
+
29
+ # C:/xampp/mysql/bin/my.cnf to set global options,
30
+
31
+ # mysql-data-dir/my.cnf to set server-specific options (in this
32
+
33
+ # installation this directory is C:/xampp/mysql/data) or
34
+
35
+ # ~/.my.cnf to set user-specific options.
36
+
37
+ #
38
+
39
+ # In this file, you can use all long options that a program supports.
40
+
41
+ # If you want to know which options a program supports, run the program
42
+
43
+ # with the "--help" option.
44
+
45
+
46
+
47
+ # The following options will be passed to all MySQL clients
48
+
49
+ [client]
50
+
51
+ # password = your_password
52
+
53
+ port = 3306
54
+
55
+ socket = "C:/xampp/mysql/mysql.sock"
56
+
57
+
58
+
59
+
60
+
61
+ # Here follows entries for some specific programs
62
+
63
+
64
+
65
+ # The MySQL server
66
+
67
+ [mysqld]
68
+
69
+ port= 3306
70
+
71
+ socket = "C:/xampp/mysql/mysql.sock"
72
+
73
+ basedir = "C:/xampp/mysql"
74
+
75
+ tmpdir = "C:/xampp/tmp"
76
+
77
+ datadir = "C:/xampp/mysql/data"
78
+
79
+ pid_file = "mysql.pid"
80
+
81
+ # enable-named-pipe
82
+
83
+ key_buffer = 16M
84
+
85
+ max_allowed_packet = 1M
86
+
87
+ sort_buffer_size = 512K
88
+
89
+ net_buffer_length = 8K
90
+
91
+ read_buffer_size = 256K
92
+
93
+ read_rnd_buffer_size = 512K
94
+
95
+ myisam_sort_buffer_size = 8M
96
+
97
+ log_error = "mysql_error.log"
98
+
99
+ skip-name-resolve
100
+
101
+
102
+
103
+
104
+
105
+ # Where do all the plugins live
106
+
107
+ plugin_dir = "C:/xampp/mysql/lib/plugin/"
108
+
109
+
110
+
111
+ # Don't listen on a TCP/IP port at all. This can be a security enhancement,
112
+
113
+ # if all processes that need to connect to mysqld run on the same host.
114
+
115
+ # All interaction with mysqld must be made via Unix sockets or named pipes.
116
+
117
+ # Note that using this option without enabling named pipes on Windows
118
+
119
+ # (via the "enable-named-pipe" option) will render mysqld useless!
120
+
121
+ #
122
+
123
+ # commented in by lampp security
124
+
125
+ #skip-networking
126
+
127
+ #skip-federated
128
+
129
+
130
+
131
+ # Replication Master Server (default)
132
+
133
+ # binary logging is required for replication
134
+
135
+ # log-bin deactivated by default since XAMPP 1.4.11
136
+
137
+ #log-bin=mysql-bin
138
+
139
+
140
+
141
+ # required unique id between 1 and 2^32 - 1
142
+
143
+ # defaults to 1 if master-host is not set
144
+
145
+ # but will not function as a master if omitted
146
+
147
+ server-id = 1
148
+
149
+
150
+
151
+ # Replication Slave (comment out master section to use this)
152
+
153
+ #
154
+
155
+ # To configure this host as a replication slave, you can choose between
156
+
157
+ # two methods :
158
+
159
+ #
160
+
161
+ # 1) Use the CHANGE MASTER TO command (fully described in our manual) -
162
+
163
+ # the syntax is:
164
+
165
+ #
166
+
167
+ # CHANGE MASTER TO MASTER_HOST=<host>, MASTER_PORT=<port>,
168
+
169
+ # MASTER_USER=<user>, MASTER_PASSWORD=<password> ;
170
+
171
+ #
172
+
173
+ # where you replace <host>, <user>, <password> by quoted strings and
174
+
175
+ # <port> by the master's port number (3306 by default).
176
+
177
+ #
178
+
179
+ # Example:
180
+
181
+ #
182
+
183
+ # CHANGE MASTER TO MASTER_HOST='125.564.12.1', MASTER_PORT=3306,
184
+
185
+ # MASTER_USER='joe', MASTER_PASSWORD='secret';
186
+
187
+ #
188
+
189
+ # OR
190
+
191
+ #
192
+
193
+ # 2) Set the variables below. However, in case you choose this method, then
194
+
195
+ # start replication for the first time (even unsuccessfully, for example
196
+
197
+ # if you mistyped the password in master-password and the slave fails to
198
+
199
+ # connect), the slave will create a master.info file, and any later
200
+
201
+ # change in this file to the variables' values below will be ignored and
202
+
203
+ # overridden by the content of the master.info file, unless you shutdown
204
+
205
+ # the slave server, delete master.info and restart the slaver server.
206
+
207
+ # For that reason, you may want to leave the lines below untouched
208
+
209
+ # (commented) and instead use CHANGE MASTER TO (see above)
210
+
211
+ #
212
+
213
+ # required unique id between 2 and 2^32 - 1
214
+
215
+ # (and different from the master)
216
+
217
+ # defaults to 2 if master-host is set
218
+
219
+ # but will not function as a slave if omitted
220
+
221
+ #server-id = 2
222
+
223
+ #
224
+
225
+ # The replication master for this slave - required
226
+
227
+ #master-host = <hostname>
228
+
229
+ #
230
+
231
+ # The username the slave will use for authentication when connecting
232
+
233
+ # to the master - required
234
+
235
+ #master-user = <username>
236
+
237
+ #
238
+
239
+ # The password the slave will authenticate with when connecting to
240
+
241
+ # the master - required
242
+
243
+ #master-password = <password>
244
+
245
+ #
246
+
247
+ # The port the master is listening on.
248
+
249
+ # optional - defaults to 3306
250
+
251
+ #master-port = <port>
252
+
253
+ #
254
+
255
+ # binary logging - not required for slaves, but recommended
256
+
257
+ #log-bin=mysql-bin
258
+
259
+
260
+
261
+
262
+
263
+ # Point the following paths to different dedicated disks
264
+
265
+ #tmpdir = "C:/xampp/tmp"
266
+
267
+ #log-update = /path-to-dedicated-directory/hostname
268
+
269
+
270
+
271
+ # Uncomment the following if you are using BDB tables
272
+
273
+ #bdb_cache_size = 4M
274
+
275
+ #bdb_max_lock = 10000
276
+
277
+
278
+
279
+ # Comment the following if you are using InnoDB tables
280
+
281
+ #skip-innodb
282
+
283
+ innodb_data_home_dir = "C:/xampp/mysql/data"
284
+
285
+ innodb_data_file_path = ibdata1:10M:autoextend
286
+
287
+ innodb_log_group_home_dir = "C:/xampp/mysql/data"
288
+
289
+ #innodb_log_arch_dir = "C:/xampp/mysql/data"
290
+
291
+ ## You can set .._buffer_pool_size up to 50 - 80 %
292
+
293
+ ## of RAM but beware of setting memory usage too high
294
+
295
+ innodb_buffer_pool_size = 16M
296
+
297
+ ## Set .._log_file_size to 25 % of buffer pool size
298
+
299
+ innodb_log_file_size = 5M
300
+
301
+ innodb_log_buffer_size = 8M
302
+
303
+ innodb_flush_log_at_trx_commit = 1
304
+
305
+ innodb_lock_wait_timeout = 50
306
+
307
+
308
+
309
+ ## UTF 8 Settings
310
+
311
+ #init-connect=\'SET NAMES utf8\'
312
+
313
+ #collation_server=utf8_unicode_ci
314
+
315
+ #character_set_server=utf8
316
+
317
+ #skip-character-set-client-handshake
318
+
319
+ #character_sets-dir="C:/xampp/mysql/share/charsets"
320
+
321
+ sql_mode=NO_ZERO_IN_DATE,NO_ZERO_DATE,NO_ENGINE_SUBSTITUTION
322
+
323
+ log_bin_trust_function_creators = 1
324
+
325
+
326
+
327
+ [mysqldump]
328
+
329
+ quick
330
+
331
+ max_allowed_packet = 16M
332
+
333
+
334
+
335
+ [mysql]
336
+
337
+ no-auto-rehash
338
+
339
+ # Remove the next comment character if you are not familiar with SQL
340
+
341
+ #safe-updates
342
+
343
+
344
+
345
+ [isamchk]
346
+
347
+ key_buffer = 20M
348
+
349
+ sort_buffer_size = 20M
350
+
351
+ read_buffer = 2M
352
+
353
+ write_buffer = 2M
354
+
355
+
356
+
357
+ [myisamchk]
358
+
359
+ key_buffer = 20M
360
+
361
+ sort_buffer_size = 20M
362
+
363
+ read_buffer = 2M
364
+
365
+ write_buffer = 2M
366
+
367
+
368
+
369
+ [mysqlhotcopy]
370
+
371
+ interactive-timeout
20
372
 
21
373
  ```
22
-
23
- ここに言語を入力
24
-
25
- コード
26
-
27
- ```Example MySQL config file for small systems.
28
-
29
- #
30
-
31
- # This is for a system with little memory (<= 64M) where MySQL is only used
32
-
33
- # from time to time and it's important that the mysqld daemon
34
-
35
- # doesn't use much resources.
36
-
37
- #
38
-
39
- # You can copy this file to
40
-
41
- # C:/xampp/mysql/bin/my.cnf to set global options,
42
-
43
- # mysql-data-dir/my.cnf to set server-specific options (in this
44
-
45
- # installation this directory is C:/xampp/mysql/data) or
46
-
47
- # ~/.my.cnf to set user-specific options.
48
-
49
- #
50
-
51
- # In this file, you can use all long options that a program supports.
52
-
53
- # If you want to know which options a program supports, run the program
54
-
55
- # with the "--help" option.
56
-
57
-
58
-
59
- # The following options will be passed to all MySQL clients
60
-
61
- [client]
62
-
63
- # password = your_password
64
-
65
- port = 3306
66
-
67
- socket = "C:/xampp/mysql/mysql.sock"
68
-
69
-
70
-
71
-
72
-
73
- # Here follows entries for some specific programs
74
-
75
-
76
-
77
- # The MySQL server
78
-
79
- [mysqld]
80
-
81
- port= 3306
82
-
83
- socket = "C:/xampp/mysql/mysql.sock"
84
-
85
- basedir = "C:/xampp/mysql"
86
-
87
- tmpdir = "C:/xampp/tmp"
88
-
89
- datadir = "C:/xampp/mysql/data"
90
-
91
- pid_file = "mysql.pid"
92
-
93
- # enable-named-pipe
94
-
95
- key_buffer = 16M
96
-
97
- max_allowed_packet = 1M
98
-
99
- sort_buffer_size = 512K
100
-
101
- net_buffer_length = 8K
102
-
103
- read_buffer_size = 256K
104
-
105
- read_rnd_buffer_size = 512K
106
-
107
- myisam_sort_buffer_size = 8M
108
-
109
- log_error = "mysql_error.log"
110
-
111
- skip-name-resolve
112
-
113
-
114
-
115
-
116
-
117
- # Where do all the plugins live
118
-
119
- plugin_dir = "C:/xampp/mysql/lib/plugin/"
120
-
121
-
122
-
123
- # Don't listen on a TCP/IP port at all. This can be a security enhancement,
124
-
125
- # if all processes that need to connect to mysqld run on the same host.
126
-
127
- # All interaction with mysqld must be made via Unix sockets or named pipes.
128
-
129
- # Note that using this option without enabling named pipes on Windows
130
-
131
- # (via the "enable-named-pipe" option) will render mysqld useless!
132
-
133
- #
134
-
135
- # commented in by lampp security
136
-
137
- #skip-networking
138
-
139
- #skip-federated
140
-
141
-
142
-
143
- # Replication Master Server (default)
144
-
145
- # binary logging is required for replication
146
-
147
- # log-bin deactivated by default since XAMPP 1.4.11
148
-
149
- #log-bin=mysql-bin
150
-
151
-
152
-
153
- # required unique id between 1 and 2^32 - 1
154
-
155
- # defaults to 1 if master-host is not set
156
-
157
- # but will not function as a master if omitted
158
-
159
- server-id = 1
160
-
161
-
162
-
163
- # Replication Slave (comment out master section to use this)
164
-
165
- #
166
-
167
- # To configure this host as a replication slave, you can choose between
168
-
169
- # two methods :
170
-
171
- #
172
-
173
- # 1) Use the CHANGE MASTER TO command (fully described in our manual) -
174
-
175
- # the syntax is:
176
-
177
- #
178
-
179
- # CHANGE MASTER TO MASTER_HOST=<host>, MASTER_PORT=<port>,
180
-
181
- # MASTER_USER=<user>, MASTER_PASSWORD=<password> ;
182
-
183
- #
184
-
185
- # where you replace <host>, <user>, <password> by quoted strings and
186
-
187
- # <port> by the master's port number (3306 by default).
188
-
189
- #
190
-
191
- # Example:
192
-
193
- #
194
-
195
- # CHANGE MASTER TO MASTER_HOST='125.564.12.1', MASTER_PORT=3306,
196
-
197
- # MASTER_USER='joe', MASTER_PASSWORD='secret';
198
-
199
- #
200
-
201
- # OR
202
-
203
- #
204
-
205
- # 2) Set the variables below. However, in case you choose this method, then
206
-
207
- # start replication for the first time (even unsuccessfully, for example
208
-
209
- # if you mistyped the password in master-password and the slave fails to
210
-
211
- # connect), the slave will create a master.info file, and any later
212
-
213
- # change in this file to the variables' values below will be ignored and
214
-
215
- # overridden by the content of the master.info file, unless you shutdown
216
-
217
- # the slave server, delete master.info and restart the slaver server.
218
-
219
- # For that reason, you may want to leave the lines below untouched
220
-
221
- # (commented) and instead use CHANGE MASTER TO (see above)
222
-
223
- #
224
-
225
- # required unique id between 2 and 2^32 - 1
226
-
227
- # (and different from the master)
228
-
229
- # defaults to 2 if master-host is set
230
-
231
- # but will not function as a slave if omitted
232
-
233
- #server-id = 2
234
-
235
- #
236
-
237
- # The replication master for this slave - required
238
-
239
- #master-host = <hostname>
240
-
241
- #
242
-
243
- # The username the slave will use for authentication when connecting
244
-
245
- # to the master - required
246
-
247
- #master-user = <username>
248
-
249
- #
250
-
251
- # The password the slave will authenticate with when connecting to
252
-
253
- # the master - required
254
-
255
- #master-password = <password>
256
-
257
- #
258
-
259
- # The port the master is listening on.
260
-
261
- # optional - defaults to 3306
262
-
263
- #master-port = <port>
264
-
265
- #
266
-
267
- # binary logging - not required for slaves, but recommended
268
-
269
- #log-bin=mysql-bin
270
-
271
-
272
-
273
-
274
-
275
- # Point the following paths to different dedicated disks
276
-
277
- #tmpdir = "C:/xampp/tmp"
278
-
279
- #log-update = /path-to-dedicated-directory/hostname
280
-
281
-
282
-
283
- # Uncomment the following if you are using BDB tables
284
-
285
- #bdb_cache_size = 4M
286
-
287
- #bdb_max_lock = 10000
288
-
289
-
290
-
291
- # Comment the following if you are using InnoDB tables
292
-
293
- #skip-innodb
294
-
295
- innodb_data_home_dir = "C:/xampp/mysql/data"
296
-
297
- innodb_data_file_path = ibdata1:10M:autoextend
298
-
299
- innodb_log_group_home_dir = "C:/xampp/mysql/data"
300
-
301
- #innodb_log_arch_dir = "C:/xampp/mysql/data"
302
-
303
- ## You can set .._buffer_pool_size up to 50 - 80 %
304
-
305
- ## of RAM but beware of setting memory usage too high
306
-
307
- innodb_buffer_pool_size = 16M
308
-
309
- ## Set .._log_file_size to 25 % of buffer pool size
310
-
311
- innodb_log_file_size = 5M
312
-
313
- innodb_log_buffer_size = 8M
314
-
315
- innodb_flush_log_at_trx_commit = 1
316
-
317
- innodb_lock_wait_timeout = 50
318
-
319
-
320
-
321
- ## UTF 8 Settings
322
-
323
- #init-connect=\'SET NAMES utf8\'
324
-
325
- #collation_server=utf8_unicode_ci
326
-
327
- #character_set_server=utf8
328
-
329
- #skip-character-set-client-handshake
330
-
331
- #character_sets-dir="C:/xampp/mysql/share/charsets"
332
-
333
- sql_mode=NO_ZERO_IN_DATE,NO_ZERO_DATE,NO_ENGINE_SUBSTITUTION
334
-
335
- log_bin_trust_function_creators = 1
336
-
337
-
338
-
339
- [mysqldump]
340
-
341
- quick
342
-
343
- max_allowed_packet = 16M
344
-
345
-
346
-
347
- [mysql]
348
-
349
- no-auto-rehash
350
-
351
- # Remove the next comment character if you are not familiar with SQL
352
-
353
- #safe-updates
354
-
355
-
356
-
357
- [isamchk]
358
-
359
- key_buffer = 20M
360
-
361
- sort_buffer_size = 20M
362
-
363
- read_buffer = 2M
364
-
365
- write_buffer = 2M
366
-
367
-
368
-
369
- [myisamchk]
370
-
371
- key_buffer = 20M
372
-
373
- sort_buffer_size = 20M
374
-
375
- read_buffer = 2M
376
-
377
- write_buffer = 2M
378
-
379
-
380
-
381
- [mysqlhotcopy]
382
-
383
- interactive-timeout
384
-
385
- ```

2

2019/07/06 09:37

投稿

hakusa.ppl
hakusa.ppl

スコア21

test CHANGED
File without changes
test CHANGED
@@ -14,7 +14,17 @@
14
14
 
15
15
 
16
16
 
17
+ `````````ここに言語を入力
18
+
19
+ ここに言語を入力
20
+
21
+ ```
22
+
23
+ ここに言語を入力
24
+
25
+ コード
26
+
17
- Example MySQL config file for small systems.
27
+ ```Example MySQL config file for small systems.
18
28
 
19
29
  #
20
30
 
@@ -371,3 +381,5 @@
371
381
  [mysqlhotcopy]
372
382
 
373
383
  interactive-timeout
384
+
385
+ ```

1

2019/07/06 09:36

投稿

hakusa.ppl
hakusa.ppl

スコア21

test CHANGED
File without changes
test CHANGED
@@ -12,7 +12,9 @@
12
12
 
13
13
 
14
14
 
15
+
16
+
15
- # Example MySQL config file for small systems.
17
+ Example MySQL config file for small systems.
16
18
 
17
19
  #
18
20