This file is indexed.

/usr/share/doc/HOWTO/ja-html/WWW-mSQL-HOWTO-3.html is in doc-linux-ja-html 2006.05.25-1.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE>A mSQL and perl Web Server Mini HOWTO: ¥¤¥ó¥¹¥È¡¼¥ë²áÄø</TITLE>
 <LINK HREF="WWW-mSQL-HOWTO-4.html" REL=next>
 <LINK HREF="WWW-mSQL-HOWTO-2.html" REL=previous>
 <LINK HREF="WWW-mSQL-HOWTO.html#toc3" REL=contents>
</HEAD>
<BODY>
<A HREF="WWW-mSQL-HOWTO-4.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="WWW-mSQL-HOWTO-2.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="WWW-mSQL-HOWTO.html#toc3">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s3">3. ¥¤¥ó¥¹¥È¡¼¥ë²áÄø</A></H2>

<P>
<P>
<H2><A NAME="ss3.1">3.1 ɬÍפʥϡ¼¥É¥¦¥§¥¢</A>
</H2>

<P>¥Ç¡¼¥¿¥Ù¡¼¥¹¥µ¡¼¥Ð¤ÇɬÍפʥϡ¼¥É¥¦¥§¥¢¤Ë¤Ä¤¤¤Æ°ìÈÌŪ¤Ê¤³¤È¤Ï¸À¤¨¤Þ¤»¤ó¡£
ͽÁÛ¤µ¤ì¤ë¥æ¡¼¥¶¡¼¤Î¿ô¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î¼ïÎà¡¢¥Í¥Ã¥È¥ï¡¼¥¯·ÐÏ©(network
load)Åù¤ËÂ礭¤¯°Í¸¤·¤Æ¤¤¤Þ¤¹¡£
2¡Á3¿Í¤Î¥æ¡¼¥¶¤¬¤¤¤ë¤À¤±¤Ç¥Í¥Ã¥È¥ï¡¼¥¯¥È¥é¥Õ¥£¥Ã¥¯¤â¾¯¤Ê¤¤ºÇ¾®¤Ê´Ä¶­¤Ç¤Ï
RAM 16MB¡¢i486ÄøÅ٤Υޥ·¥ó¤Ç½½Ê¬¤Ç¤¹¡£Linux¤Ï¥ê¥½¡¼¥¹¤Ë´Ø¤·¤Æ¤Ï¤½¤ì¤Ç
½½Ê¬¤Ç¡¢Æ±»þ¤Ë¤µ¤Þ¤¶¤Þ¤Ê¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤òµ¯Æ°¤¹¤ë¤À¤±¤ÎÇÏÎϤ¬¤¢¤ê¤Þ¤¹¡£
¤â¤Á¤í¤ó¤â¤Ã¤È®¤¤¥×¥í¥»¥Ã¥µ¤äRAM¤ÎÁýÀߤò¤¹¤ì¤Ð¤¹¤ë¤Û¤É¹â®²½¤¹¤ë¤³¤È¤â¤Ç
¤­¤Þ¤¹¤¬¡¢¥×¥í¥»¥Ã¥µ¤è¤ê¤âRAM¤ÎÍÆÎ̤ÎÊý¤¬½ÅÍפǤ¹¡£
RAM¤òÁý¤ä¤»¤ÐÁý¤ä¤¹¤Û¤É¡¢¾ã³²¤òÀ¸¤¸¤ä¤¹¤¤½¸ÃæŪ¤Ê¥á¥â¥ê¡¼¥×¥í¥»¥¹¤Î¥Ç¥£¥¹¥¯
¥¹¥ï¥Ã¥×¤¬¾®¤µ¤¯¤Ê¤Ã¤Æ¤¤¤¯¤Î¤Ç¤¹¡£
<P>32 MB RAM ¤È PCI¥Ð¥¹¤¬¤¢¤ì¤Ð¥¹¥ï¥Ã¥×¥Õ¥¡¥¤¥ë¤Ê¤É¤ò»È¤ï¤Ê¤¤¤Ç¸¡º÷¤È¥½¡¼¥È
¤ò¹â®¤Ë¹Ô¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
<P>¤³¤Îʸ½ñ¤Ç½ñ¤«¤ì¤Æ¤¤¤ë¥¤¥ó¥¹¥È¡¼¥ë¤Ï32 MB RAM¡¢1.2 GB IDE¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤Î
IBM 686(133Mhz) ¤Ç¹Ô¤Ã¤Æ¤¤¤Þ¤¹¡£¤Ï¤¸¤á¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤â¤Î¤È¤·¤Æ°Ê²¼¡¢
ɬÍפʼê½ç¤Î¥ê¥¹¥È¤ò½ñ¤­¤Þ¤·¤¿¡£
<P>
<H2><A NAME="ss3.2">3.2 ɬÍפʥ½¥Õ¥È¥¦¥§¥¢</A>
</H2>

<P>¤³¤Îʸ½ñ¤Ç¼è¤ê°·¤¦¥½¥Õ¥È¥¦¥§¥¢¤ÏCD-ROM¤ä¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤«¤éÆþ¼ê¤Ç¤­¤ë¤â¤Î
¤Ç¤¹¡£°Ê²¼¤Î¤â¤Î¤ò»È¤¤¤Þ¤¹¡§
<UL>
<LI> Red Hat Linux PowerTools¡§Red Hat Linux PowerTools¡§6 CD's Complete Easy-to-Use
Red Hat 4.2, Summer '97;<CODE>http://www.redhat.com</CODE>
¤«¤é¡£</LI>
<LI> msql SQL¥Ç¡¼¥¿¥Ù¡¼¥¹¥µ¡¼¥Ð¡§¸½ºß£²¤Ä¤Î¥Ð¡¼¥¸¥ç¥ó¤Î¤â¤Î¤¬Æþ¼ê¤Ç¤­¤Þ¤¹¡£¤³¤Î¥Ð¡¼¥¸¥ç¥ó¤Î
°ã¤¤¤Ï½èÍý¤Ç¤­¤ë¿ô¡¢¥¢¥É¥ß¥Ë¥¹¥È¥ì¡¼¥·¥ç¥ó¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤Î°ã¤¤¤Ë
°Í¤Ã¤Æ¤¤¤Þ¤¹¡£¸Å¤¤Êý¤Î¥Ð¡¼¥¸¥ç¥ó¤Ï1.0.16¤Ç¡¢Sunsite¥ß¥é¡¼¥µ¥¤¥È¤«¤é
Æþ¼ê¤Ç¤­¤Þ¤¹¡£ELF¥Õ¥¡¥¤¥ë¤Ï

<CODE>sunsite:apps/database/sql/msql-1.0.16</CODE>

¤äCDROM(disc 4 of InfoMagic Linux Developer's
Resource, 6-CD set, December 1996)¡¢

<CODE>http://www.infomagic.com</CODE>¤«¤éÆþ¼ê¤·¤Þ¤¹¡£

¿·¤·¤¤¥Ð¡¼¥¸¥ç¥ó¤Ï2.0.1¤Ç¤¹¡£¥ª¡¼¥¹¥È¥é¥ê¥¢¤ÎHughe»á¤Î¥Û¡¼¥à¥Ú¡¼¥¸
(<CODE>http://www.hughes.com.au</CODE>)¤ä¤½¤Î¾¥ß¥é¡¼¥µ¥¤¥È¤«¤éÆþ¼ê¤Ç¤­¤Þ
¤¹¡£</LI>
<LI> CPAN¤Îperl¡§The Comprehensive Perl Archive Network.
Walnut Creek CDROM, ISBN 1-57176-077-6, May 1997;</LI>
<LI> <CODE>computer journal iX 8/1997, pages 150--152</CODE>¤ÎMichael Schilli
»á¤Ë¤è¤ëCGI¥µ¥ó¥×¥ë¥×¥í¥°¥é¥à¡£ftp¤ÇÆþ¼ê

<CODE>ftp.uni-paderborn.de:/doc/magazin/iX</CODE>¡£</LI>
</UL>
<P>
<H2><A NAME="ss3.3">3.3 OS¤Î¥¤¥ó¥¹¥È¡¼¥ë</A>
</H2>

<P>Ãø¼Ô¤Ï<CODE>Red Hat Linux Distribution 4.2</CODE>¤«¤éLinux¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¤¤Þ¤¹¡£
¤Á¤ã¤ó¤È¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤¿¤á¤Ë¡¢¥Þ¥·¥ó¤ÏDOS¤Ç¥¢¥¯¥»¥¹¤Ç¤­¤ëCDROM¥É¥é¥¤¥Ö/
¥Ö¡¼¥È²Äǽ¤ÊCDROM¥É¥é¥¤¥Ö¤«¡¢Linux CD¤Î°Ê²¼¤ÎÀßÄê¤òÀ¹¤ê¹þ¤ó¤À¥Ö¡¼¥È¥Ç¥£¥¹¥¯
¤Î¤É¤Á¤é¤«¤ò»ý¤Ã¤Æ¤¤¤ë¤È¤è¤¤¤Ç¤·¤ç¤¦¡£
<P>¥¤¥ó¥¹¥È¡¼¥ë¤ÎÅÓÃæ¤Ç¥½¥Õ¥È¥¦¥§¥¢¥Ñ¥Ã¥±¡¼¥¸¤ÎÁªÂò¤ÈÀßÄê¤ò¹Ô¤¤¤Þ¤¹¡£
°Ê²¼¤Î¥¢¥¤¥Æ¥à¤òÁªÂò¤·¤Æ¤ª¤¤¤Æ²¼¤µ¤¤¡£
<UL>
<LI> TCP/IP ¥Í¥Ã¥È¥ï¡¼¥¯¥µ¥Ý¡¼¥È</LI>
<LI> http ¥µ¡¼¥Ð Apache</LI>
<LI> ¥¹¥¯¥ê¥×¥È¸À¸ìperl</LI>
<LI> X Window System</LI>
<LI> Arena (¥°¥é¥Õ¥£¥«¥ë)¤ÈLynx (¥Æ¥­¥¹¥È¥Ù¡¼¥¹)¥Ö¥é¥¦¥¶</LI>
</UL>

¤³¤ì¤é¤Î¥Ñ¥Ã¥±¡¼¥¸¤ÏLinux¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤ÇÇÛÉÛ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
¤â¤·¤¹¤°¤Ë¤³¤ì¤é¤Î¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Ê¤¤¤Ê¤é¡¢¥½¥Õ¥È¥¦¥§¥¢
¥Ñ¥Ã¥±¡¼¥¸¤Ë¤¢¤ë¥°¥é¥Õ¥£¥«¥ë¤Çľ´ÑŪ¤Ê¥¤¥ó¥¹¥È¡¼¥ë¥Þ¥Í¡¼¥¸¥ã¤ò»È¤Ã¤Æ¸å¤«¤é
¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­¤Þ¤¹(<B>ÌõÃí¡§</B>setup¥³¥Þ¥ó¥É¤Ê¤É¤Ç)¡£
¤³¤ì¤é¤Î¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëºÝ¤Ïroot¤Çºî¶È¤ò¤·¤Æ²¼¤µ¤¤¡£
<P>¤³¤Îʸ½ñ¤Ç¤Ï¥Í¥Ã¥È¥ï¡¼¥¯¥¤¥ó¥¹¥È¡¼¥ë¤ä½é´üÀßÄê¤Î»ÅÊý¤Ï¼è¤ê°·¤¤¤Þ¤»¤ó¡£
¥ª¥ó¥é¥¤¥ó¥É¥­¥å¥á¥ó¥È(man¥Ú¡¼¥¸¡¢HTML¡¢texinfo)¤ä½ÐÈǤµ¤ì¤Æ¤¤¤ë
¥É¥­¥å¥á¥ó¥È((Linux Bible¤Ê¤É¤Ê¤É)¤ò»²¾È¤·¤Æ²¼¤µ¤¤¡£
<P>Red Hat¤Î¥¤¥ó¥¹¥È¡¼¥ëÊýË¡¤Ï½½Ê¬³ÎΩ¤µ¤ì¤Æ¤¤¤Æ¡¢ÁªÂò(¥Û¥¹¥È̾¤Î»ØÄê¤Ê¤É)¤ò
ÉáÄ̤˹Ԥ¦¤À¤±¤Ç¤¹¡£¥¤¥ó¥¹¥È¡¼¥ë¤¬À®¸ù¤¹¤ì¤Ð¡¢¥·¥¹¥Æ¥à¤Ï¤¹¤°¤Ë²ÔƯ¤Ç¤­¤Þ¤¹¡£
<P>
<P>X Window System¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Ï¥µ¡¼¥Ð¤Ë¤Ïɬ¤º¤·¤âɬÍפǤϤ¢¤ê¤Þ¤»¤ó¤¬
¥í¡¼¥«¥ë¥¢¥¯¥»¥¹¤ä¥Æ¥¹¥È¤¬´Êñ¤Ë¤Ê¤ë¤Î¤ÇÆþ¤ì¤Æ¤ª¤¯¤È¤è¤¤¤Ç¤·¤ç¤¦¡£
X¤Î¥¤¥ó¥¹¥È¡¼¥ëÊýË¡¤Ï¤¤¤¯¤Ä¤«¥×¥í¥°¥é¥à¤ò»È¤¦¤³¤È¤Ç¹Ô¤¨¤Þ¤¹(XF86Setup
¤Ï¼«¸Ê¥Æ¥¹¥È¤Îµ¡Ç½(self-testing facilities)¤òÁõÈ÷¤·¤Æ¤¤¤Æ¡¢Î㤨¤Ð¥Ó¥Ç¥ª
¥¯¥í¥Ã¥¯¥×¥í¥°¥é¥ß¥ó¥°¤Ê¤ÉÆñ¤·¤¤Áàºî¤Ï¤Û¤È¤ó¤É¤¢¤ê¤Þ¤»¤ó)¡£É¬Íפʤ³¤È¤Ï
¥½¥Õ¥È¥¦¥§¥¢¤¬¥Ó¥Ç¥ª¥¢¥À¥×¥¿¤ò¸¡½Ð¤Ç¤­¤ë¤«¤É¤¦¤«¤È¤¤¤¦¤³¤È¤À¤±¤Ç¤¹¡£
°Â²Á¤Ê¥¢¥¯¥»¥é¥ì¡¼¥¿¥°¥é¥Õ¥£¥Ã¥¯¥¢¥À¥×¥¿(S64UV+¤ÎÁ°¿È¤ÎTrio S64¤Î¤è¤¦¤Ê
¥¢¥À¥×¥¿¤Ê¤É)¤ÏÄ̾Æä˲¿¤â¤·¤Ê¤¯¤Æ¤â(``out of the box'')Æ°ºî¤·¤Þ¤¹¡£
<P>¤³¤³¤Ç¥·¥¹¥Æ¥à¤Ë<CODE>Apache, Perl, X Window System</CODE>¤¬¤¹¤Ç¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ
¤¤¤ë¤â¤Î¤È¤·¤Þ¤¹¡£º£¸å¡¢¥Õ¥¡¥¤¥ë/¥Ç¥£¥ì¥¯¥È¥ê¤È¤¤¤Ã¤¿´ðËÜŪ¤Ê¤³¤È¤Ï¥¤¥ó¥¹¥È¡¼¥ë
»þ¤Î¤Þ¤Þ¤È¤·¤ÆÏä·¤ò¿Ê¤á¤Æ¤¤¤­¤Þ¤¹¡£¤Þ¤¿¥Û¥¹¥È̾¤Ï<CODE>localhost</CODE>¤È¤·¤Þ¤¹¡£
¤³¤Î¥Û¥¹¥È̾¤ò¥¤¥ó¥¹¥È¡¼¥ë¤Î¥Æ¥¹¥ÈÍѤ˻Ȥ¤¤Þ¤¹¡£Á´¥·¥¹¥Æ¥à¤¬¤Á¤ã¤ó¤ÈÆ°ºî
¤·¤¿¤éŬÅö¤Ê̾Á°¤ò¤Ä¤±¤Þ¤¹¡£<CODE>/etc/hosts</CODE>¥Õ¥¡¥¤¥ë¤Ê¤É¤òÊÔ½¸¤¹¤ë
ɬÍפ¬¤¢¤ë¤³¤È¤â¤ª¤Ü¤¨¤Æ¤ª¤¤¤Æ²¼¤µ¤¤¡£ÍýÁÛŪ¤Ë¤Ï¤³¤ì¤é¤ÏrootÍѤδÉÍý¼Ô
¥Ä¡¼¥ë¤ò»È¤Ã¤Æ¹Ô¤¦¤Ù¤­¤Ç¤¹¡£
<P>
<P>
<H2><A NAME="ss3.4">3.4 http¥µ¡¼¥Ð</A>
</H2>

<P>Linux¤Ç»È¤ï¤ì¤ëhttp¥µ¡¼¥Ð¤ÏApache(httpd)¤¬Í­Ì¾¤Ç¤¹¡£
man¥Ú¡¼¥¸(man httpd)¤Çhttp¥Ç¡¼¥â¥ó(http<EM>d</EM>)¤Î¥¤¥ó¥¹¥È¡¼¥ë¤È²ÔƯ¤Î»ÅÊý
¤Ë¤Ä¤¤¤ÆÀâÌÀ¤·¤Æ¤¤¤Þ¤¹¡£¤·¤«¤·ÌäÂê¤Ê¤¯¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­¤Æ¤¤¤ë¤Ê¤é¤¹¤Ç¤Ë¥µ¡¼¥Ð¤Ï
²ÔƯ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¥Ç¥£¥ì¥¯¥È¥ê¤ò³Îǧ¤·¤Þ¤¹¡§<CODE>/home/httpd/</CODE>°Ê²¼£³¤Ä
¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê<CODE>../cgi-bin/</CODE>¡¢<CODE>../html/</CODE>¡¢<CODE>../icons/</CODE>
¤¬¤¢¤ê¤Þ¤¹(ÌõÃí¡§RedHat°Ê³°¤Î¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤Ç¤Ï¥Ç¥£¥ì¥¯¥È¥ê¤¬¼ã´³
°ã¤¦¤«¤â¤·¤ì¤Þ¤»¤ó)¡£<CODE>../html/</CODE>¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï<CODE>index.html</CODE>
¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¤Þ¤¹¡£¤¢¤È¤Ç¤³¤Î¥Õ¥¡¥¤¥ë¤Ï³Æ¼«¤Î¥Õ¥¡¥¤¥ë<CODE>index.html</CODE>¤Ë
ÃÖ¤­´¹¤¨¤Æ²¼¤µ¤¤¡£ÀßÄê¤Î¾ðÊó¤Ï<CODE>/etc/httpd/conf/</CODE>¤ËÃßÀѤµ¤ì¤Æ¤¤¤Þ¤¹¡£
¥·¥¹¥Æ¥à¤¬½½Ê¬¤ËÀßÄꤵ¤ì¤Æ¤¤¤Æ¡¢Æä˥¨¥é¡¼¤â¤Ê¤¯¥¤¥ó¥¹¥È¡¼¥ë¤¬¤Ç¤­¤¿¤Ê¤é¤³¤ì
°Ê¾å¤ÏɬÍפ¢¤ê¤Þ¤»¤ó¡£
<P>
<P>
<H2><A NAME="ss3.5">3.5 ¥Ö¥é¥¦¥¶</A>
</H2>

<P>´ðËÜŪ¤ËLinuxÍѤΥ֥饦¥¶¤Ë¤Ï£³¤Ä¤Î¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡§
<UL>
<LI>Lynx¡§¥Æ¥­¥¹¥È¥Ù¡¼¥¹¤Î¥·¥¹¥Æ¥à¡£</LI>
<LI>Arena(¥Õ¥ê¡¼)¡§¥·¥ó¥×¥ë¤Ê¥Ö¥é¥¦¥¶¡£¼Â¸³Åª</LI>
<LI>Netscape(¥·¥§¥¢)¡§Java¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£</LI>
</UL>

Lynx¤ÈArenaLinux¤ËÉí°¤·¤Æ¤¤¤Þ¤¹¤¬¡¢Netscape ¤Ï¤è¤½¤«¤éÆþ¼ê¤·¤Ê¤±¤ì¤Ð
¤Ê¤ê¤Þ¤»¤óix86¥¢¡¼¥­¥Æ¥¯¥Á¥ã¾å¤ÇÆ°ºî¤¹¤ëLinuxÍѤΤâ¤Î¤¬¥Ð¥¤¥Ê¥ê¥Õ¥¡¥¤¥ë¤Ç
ÇÛÉÛ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¥¢¡¼¥«¥¤¥Ö¤òŸ³«¤¹¤ì¤Ð¤¹¤°¤Ë(``out of the box'')¼Â¹Ô¤Ç¤­
¤Þ¤¹¡£
<P>
<H3>Lynx¤ÎÀßÄê</H3>

<P>Lynx¤Ïµ¯Æ°»þ¤Ë¥Ç¥Õ¥©¥ë¥ÈURL¤òɽ¼¨¤·¤è¤¦¤È¤·¤Þ¤¹¡£¤³¤ì¤Ï¾ï¤Ë¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤Ë
Àܳ¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ë¤Ï¤Á¤ç¤Ã¤ÈÌñ²ð¤Ç¤¹¡£¤³¤Î¥Ç¥Õ¥©¥ë¥ÈURL¤òÊѹ¹¤¹¤ë
(¤Þ¤¿Â¾¤ÎÀßÄê¤âÊѹ¹¤¹¤ë)¤¿¤á¤Ë¡¢¥·¥¹¥Æ¥à´ÉÍý¼Ô¤Ï<CODE>/usr/lib/lynx.cfg</CODE>
(<B>ÌõÃí¡§</B>¤Þ¤¿¤Ï<CODE>/usr/local/lib/lynx.cfg</CODE>¤Ê¤É)¥Õ¥¡¥¤¥ë¤òÊÔ½¸¤¹¤ëɬÍפ¬
¤¢¤ê¤Þ¤¹¡£¤³¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤ÏÌó57,000¥Ð¥¤¥È¤ÈÂ礭¤¯ÉÔɬÍפʾðÊó¤ò´Þ¤ó¤Ç¤¤¤ë¤â
¤Î¤â¤¢¤ê¡¢<CODE>/usr/local/lib/</CODE>¥Ç¥£¥ì¥¯¥È¥ê¤ò¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤È¤·¤Æµ­½Ò
¤·¤Æ¤¤¤Þ¤¹¡£
¥Õ¥¡¥¤¥ë¤Î¤Ï¤¸¤á¤¢¤¿¤ê¤Ë<CODE>STARTFILE</CODE>¤Ç¤Ï¤¸¤Þ¤ë¹Ô¤¬¤¢¤ë¤Î¤Ç¡¢¤³¤ì¤ò
°Ê²¼¤Î¤è¤¦¤ËÊѹ¹¤·¤Þ¤¹¡£
<HR>
<PRE>
# STARTFILE:http://www.nyu.edu/pages/wsn/subir/lynx.html
# STARTFILE:http://lynx.browser.org/  
STARTFILE:http://localhost
</PRE>
<HR>

¥Õ¥¡¥¤¥ë¤òÊݸ¸å¡¢Lynx¤Ï°ú¿ô¤Ê¤·¤Ç<CODE>index.html</CODE>¥É¥­¥å¥á¥ó¥È¤ò
ɽ¼¨¤¹¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£
<P>[ÌõÃí¡§&quot;Lynx¤Ë¤Ä¤¤¤Æ&quot;
<P>Lynx¤ÏVer2.5¤¢¤¿¤ê¤«¤éÆÃÊ̤ʥѥåÁ¤Ê¤·¤ÇÆüËܸ줬Ä̤ë¤è¤¦¤Ë
¤Ê¤ê¤Þ¤·¤¿¡£°Ê²¼¤Î¥µ¥¤¥È¤ò»²¾È¤·¤Æ¤ß¤Æ²¼¤µ¤¤¡£
<UL>
<LI>ºÇ¿·¤ÎLynx¥½¡¼¥¹
<A HREF="ftp://ftp2.cc.ukans.edu/pub/lynx/">ftp://ftp2.cc.ukans.edu/pub/lynx/</A></LI>
<LI>Lynx¤ÎÆüËܸ첽¤Ë¤Ä¤¤¤Æ
<A HREF="http://www.three-a.co.jp/~asada/lynx/">http://www.three-a.co.jp/~asada/lynx/</A></LI>
<LI>Lynx¤Èkterm¡£terminfo¤Î¥Ð¥°½¤Àµ¤Ë¤Ä¤¤¤Æ
<A HREF="http://www-nagao.kuee.kyoto-u.ac.jp/member/shimada/misc/lynx-kterm.html">http://www-nagao.kuee.kyoto-u.ac.jp/member/shimada/misc/lynx-kterm.html</A></LI>
</UL>

]
<P>
<H3>Arena¤ÎÀßÄê</H3>

<P>Arena¤â°ú¿ô¤Ê¤·¤Çµ¯Æ°¤¹¤ë¤È¥Ç¥Õ¥©¥ë¥ÈURL¤òɽ¼¨¤·¤Þ¤¹¡£¤³¤Î¥Ç¥Õ¥©¥ë¥ÈURL¤Ï
¼Â¹Ô¥Õ¥¡¥¤¥ë¤ËÁȤ߹þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢´Ä¶­ÊÑ¿ô<CODE>WWW_HOME</CODE>¤Ë¤è¤Ã¤ÆÊѹ¹
(overrun)¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£¥·¥¹¥Æ¥à´ÉÍý¼Ô¤Ï<CODE>/etc/profile</CODE>¥Õ¥¡¥¤¥ë¤Ë
<CODE>WWW_HOME="http://localhost"</CODE>¤È¤Ê¤ë¤è¤¦¤Ë½ñ¤­¹þ¤ó¤Ç²¼¤µ¤¤(bash¤Ê¤É¤Î
¾ì¹ç¤Ïexport¤¹¤ë¤è¤¦¤Ë¤·¤Þ¤¹)¡£Î㤨¤Ð¡¢
<HR>
<PRE>
WWW_HOME="http://localhost"
export WWW_HOME
</PRE>
<HR>

¤È¤·¤Þ¤¹¡£
°ìÅÙ¥í¥°¥¤¥ó¤·Ä¾¤»¤Ð¡¢¿·¤·¤¤¥Ç¥Õ¥©¥ë¥ÈURL¤¬Arena¤ÇÍ­¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£
<P>
<P>
<H3>Netscape¤Î¥¤¥ó¥¹¥È¡¼¥ë¤ÈÀßÄê</H3>

<P>Netscape¤Ï¾¦ÍѤÎÀ½ÉʤÇLinux¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤Ç¤ÏÇÛÉÛ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£
(<B>ÌõÃí¡§</B>Caldera Open Linux¤Ê¤É¾¦ÍѤΥǥ£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤Ç¤Ï¥é¥¤¥»¥ó¥¹
¤µ¤ì¤¿Netscape¤¬¤Ä¤¤¤Æ¤¯¤ë¤â¤Î¤â¤¢¤ê¤Þ¤¹)¡£
¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤äCDROM¤Î¥½¥Õ¥È¥¦¥§¥¢¥³¥ì¥¯¥·¥ç¥ó¤«¤éÆþ¼ê¤Ç¤­¤Þ¤¹¡£Netscape
¤Ï³Æ¥×¥é¥Ã¥È¥Õ¥©¡¼¥àÍѤ˥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿¥Ð¥¤¥Ê¥ê·Á¼°¤ÇÇÛÉÛ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤Ë¤Ï¥¢¡¼¥«¥¤¥Ö¥Õ¥¡¥¤¥ë¤òŸ³«¤¹¤ë¥Ç¥£¥ì¥¯¥È¥ê¤È¤·¤Æ
<CODE>/usr/local/Netscape/</CODE>¤òºî¤ê¤Þ¤¹(<B>ÌõÃí¡§</B>¥¢¡¼¥«¥¤¥Ö¤ËÉí°¤Î
¥¤¥ó¥¹¥È¡¼¥ë¥×¥í¥°¥é¥à¤ò»È¤¨¤Ð¼«Æ°Åª¤Ë<CODE>/usr/local/netscape/</CODE>
¥Ç¥£¥ì¥¯¥È¥ê¤òºî¤ê¤Þ¤¹)¡£
Java¥é¥¤¥Ö¥é¥ê¤ò½ü¤¯¥Õ¥¡¥¤¥ë¤ÏÁ´¤Æ¤³¤Î¥Ç¥£¥ì¥¯¥È¥êÆâ¤Ë¤¢¤ê¤Þ¤¹(Netscape
¥é¥¤¥Ö¥é¥ê¤Ë¤Ä¤¤¤Æ¤Ï<CODE>README</CODE>¥Õ¥¡¥¤¥ë¤ò»²¾È¤·¤Æ²¼¤µ¤¤)¡£°Ê²¼¤Î¤è¤¦¤Ë
¤·¤Æ¥ê¥ó¥¯¤ò¤Ï¤ê¤Þ¤¹(<CODE>/usr/local/bin/</CODE>¥Ç¥£¥ì¥¯¥È¥ê¤Çºî¶È¤ò¤·¤Þ¤¹)¡£
<PRE>
# ln -s /usr/local/Netscape/netscape .
</PRE>

Netscape¤Ï¡ÖOptions¡×¥á¥Ë¥å¡¼¤ÇÀßÄê¤Ç¤­¤Þ¤¹¡£¡ÖGeneral Preferences¡×¤Ç¤Ï
¡ÖAppearance¡×¥«¡¼¥É¤¬¤¢¤ë¤Î¤Ç¡¢¡ÖHome Page Location¡×¤Ë
<CODE>http://localhost</CODE>¤ò»ØÄꤷ¤Þ¤¹¡£Netscape¤ò½ªÎ»¤¹¤ë¤Þ¤¨¤Ë¡¢¥ª¥×¥·¥ç¥ó
¤ÎÊݸ¤ò˺¤ì¤Ê¤¤¤Ç²¼¤µ¤¤(¡ÖOptions¡×---¡ÖSave Options¡×¤Ç)¡£¼¡²ó¤Îµ¯Æ°¤Ç
Apache¤Î¥Ú¡¼¥¸¤¬³«¤­¤Þ¤¹(<EM>ÌõÃí¡§</EM>¤³¤ì¤Ï¥í¡¼¥«¥ë¥Þ¥·¥ó¤Î¥Ú¡¼¥¸¤Ç¡¢Apache
¥¤¥ó¥¹¥È¡¼¥ë»þ¤Ëºî¤é¤ì¤Þ¤¹)¡£
<P>
<H2><A NAME="ss3.6">3.6 Apache¤È¥Ö¥é¥¦¥¶¤Î¶¨ÎÏ´Ø·¸</A>
</H2>

<P>¥Ö¥é¥¦¥¶¤Èhttp¥µ¡¼¥Ð¤ÎºÇ½é¤Î¥Æ¥¹¥È¤ò¤·¤Þ¤¹¡£Å¬Åö¤Ê¥Ö¥é¥¦¥¶¤òµ¯Æ°¤¹¤ë¤È
<CODE>apache: red hat linux web server</CODE>¤Î¥Ú¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£¤³¤Î¥Ú¡¼¥¸¤Ç¤Ï
¥Õ¥¡¥¤¥ë¤Î¾ì½ê¤Èhttp¥µ¡¼¥Ð¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Î´ðËܤòÀâÌÀ¤·¤Þ¤¹¡£
¤â¤·¤³¤Î¥Ú¡¼¥¸¤¬É½¼¨¤µ¤ì¤Ê¤¤¾ì¹ç¤Ï¥Õ¥¡¥¤¥ë¤¬Å¬Åö¤Ê¾ì½ê¤Ë¤¢¤ë¤«¡¢¥Ö¥é¥¦¥¶¤Î
ÀßÄ꤬Àµ¤·¤¤¤«¥Á¥§¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£¥Ö¥é¥¦¥¶¤ò¤â¤¦°ìÅÙ³«¤¯Á°¤ËÀßÄê¥Õ¥¡¥¤¥ë
¤ÎÊÔ½¸¤ò½ª¤é¤»¤Æ²¼¤µ¤¤¡£°Ê¾å¤ÎÀßÄ꤬Àµ¤·¤±¤ì¤Ð¼¡¤Ë¥Þ¥·¥ó¤Î¥Í¥Ã¥È¥ï¡¼¥¯ÀßÄê
¤ò¥Æ¥¹¥È¤·¤Þ¤¹¡£¥Û¥¹¥È̾¤¬ÀßÄê¥Õ¥¡¥¤¥ë¤Ë½ñ¤¤¤¿¤â¤Î¤È°ã¤Ã¤¿¤ê¥Í¥Ã¥È¥ï¡¼¥¯
¥»¥Ã¥È¥¢¥Ã¥×¤¬Àµ¤·¤¤¤«¤É¤¦¤«¡£¾¯¤Ê¤¯¤È¤â<CODE>/etc/hosts</CODE>¤Ë°Ê²¼¤Î¹Ô¤¬
¤¢¤ë¤³¤È¤ò¥Á¥§¥Ã¥¯¤·¤Þ¤¹¡£¤³¤ì¤Ï½ÅÍפǤ¹¡£
<HR>
<PRE>
127.0.0.1               localhost localhost.localdomain
</PRE>
<HR>

¤³¤ì¤Ï¥Þ¥·¥ó¤Ë¥í¡¼¥«¥ëÀܳ¤ò¤¹¤ë¤È¤­Èó¾ï¤Ë½ÅÍפǤ¹¡£°ú¿ô¤Ë¥Û¥¹¥È̾¤ò»È¤¦¤è¤¦¤Ê
¥Í¥Ã¥È¥ï¡¼¥¯ÍÑ¥³¥Þ¥ó¥É¤ò»È¤Ã¤Æ¥Æ¥¹¥È¤·¤Þ¤¹¡£Î㤨¤Ð¡¢<CODE>telnet localhost</CODE>
¤È¤·¤Þ¤¹(telnet ¤Ï¤¹¤Ç¤Ë¥Þ¥·¥ó¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤Þ¤¹)¡£¤â¤·¤³¤ì¤¬¤ª¤«¤·
¤±¤ì¤Ð¼¡¤Îºî¶È¤Ë°Ü¤ë¤Þ¤¨¤Ë¤â¤¦°ìÅ٥ͥåȥ¥¯ÀßÄê¤ò¥Á¥§¥Ã¥¯¤·¤Æ¤ª¤¤¤Æ²¼¤µ¤¤¡£
<P>
<H2><A NAME="ss3.7">3.7 ¥Ç¡¼¥¿¥Ù¡¼¥¹¥¨¥ó¥¸¥ó¤È¥¤¥ó¥¹¥È¡¼¥ë</A>
</H2>

<P>¥Ç¡¼¥¿¥Ù¡¼¥¹¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤Ë¤Ï¡¢netscape¤È¤¤¤Ã¤¿¾åµ­¤Î¥¤¥ó¥¹¥È¡¼¥ë¤è¤ê¤â¡¢
¼ã´³½àÈ÷¤·¤Æ¤ª¤¯¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£
¥é¥ó¥¿¥¤¥à¤ä¥¢¥É¥ß¥Ë¥¹¥È¥ì¡¼¥·¥ç¥ó¤¬¤½¤ì¤¾¤ì°ã¤¦sql¥Ç¡¼¥¿¥Ù¡¼¥¹¥¨¥ó¥¸¥ó¤¬
2¡Á3¤¢¤ê¡¢¤½¤ÎÃæ¤Ç°ìÈ֤狼¤ê¤ä¤¹¤¤¥·¥¹¥Æ¥à¤Ç¤¢¤ëmsql(mini-sql)¤ò»È¤¤¤Þ¤¹¡£
¤³¤Î¥·¥¹¥Æ¥à¤Ïdavid hughes»á¤Ë¤è¤ë¤â¤Î¤Ç¡¢¥·¥§¥¢¥¦¥§¥¢¤Ç¤¹¡£
ÎÁ¶â¤Ï»È¤¦¥Ð¡¼¥¸¥ç¥ó¤Ë°Í¤ê¤Þ¤¹¡£
¾¦ÍÑŪ¤Ê»ÈÍѤξì¹ç¤Ï250.00¥É¥ë(us)°Ê¾å¡£¸Ä¿Í¥æ¡¼¥¶¤Î¾ì¹ç¤Ï65.00¥É¥ë(us)°Ê¾å¡£
¶µ°é¡¢Èó¾¦ÍÑŪ¤Êµ¡´Ø¤Î¾ì¹ç¤Ï¥Õ¥ê¡¼¤Ç»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
Àµ³Î¤Ê²Á³Ê(figures)¤Ï¥Ç¡¼¥¿¥Ù¡¼¥¹¤ËÉí°¤·¤Æ¤¤¤ë¥É¥­¥å¥á¥ó¥È¤Î¥é¥¤¥»¥ó¥¹¤ò
»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£¤³¤³¤Ë½ñ¤¤¤¿²Á³Ê¤Ï¤À¤¤¤¿¤¤¤ÎÌܰ¤Ȥ·¤Æ²¼¤µ¤¤¡£
<P>¤Ê¤¼Ãø¼Ô¤¬msql¤òÁªÂò¤·¤¿¤«¤½¤ÎÍýͳ¤ò£²¡¢£³½Ò¤Ù¤Þ¤¹¡£¤Þ¤ºÂè°ì¤Ë
¥¤¥ó¥¹¥È¡¼¥ë/´ÉÍý¤¬´Êñ¤Ç¡¢sql¸À¸ì¤Î¥«¥Ð¡¼¤·¤Æ¤¤¤ëÈϰϤ¬½½Ê¬¤Ç¤¢¤ë¤³¤È¤¬
µó¤²¤é¤ì¤Þ¤¹¡£¤³¤³¤Þ¤Ç½ñ¤¤¤¿»þÅÀ¤Ç
<CODE>alligator descartes' dbi faq (perl database interface faq)</CODE>
¤ËŬÅö¤ÊÀâÌÀ¤¬¸«¤Ä¤«¤ê¤Þ¤·¤¿¡£
<BLOCKQUOTE>
From the current author's point of view, if the dataset is
relatively small, being tables of less than 1 million
rows, and less than 1000 tables in a given database, then
mSQL is a perfectly acceptable solution to your problem.
This database is extremely cheap, is wonderfully robust
and has excellent support. [...]
<P>[ÆüËܸìÌõ¡§
¸½ºß¤Îºî¼Ô¤Î»ØŦ¤Ë¤è¤ë¤È¡¢¥Ç¡¼¥¿¥»¥Ã¥È¤¬100,000Îó°Ê²¼¤Îɽ¤ä1000°Ê²¼¤Î
¥Æ¡¼¥Ö¥ë¤È¤¤¤Ã¤¿¡¢Èæ³ÓŪ¾®¤µ¤¤¤â¤Î¤Ê¤émSQL¤Ï´°Á´¤Ë¤¢¤Ê¤¿¤ÎÌäÂê¤ò²ò·è¤·¤Æ
¤¯¤ì¤Þ¤¹¡£¤³¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ï°Â¤¯¤·¤Ã¤«¤ê¤·¤¿¤â¤Î¤ÇÍ¥¤ì¤¿¥µ¥Ý¡¼¥È¤¬¤¢¤ê¤Þ¤¹¡£
]
</BLOCKQUOTE>

Msql¤Ï£²¤Ä¤Î¥Ð¡¼¥¸¥ç¥ó(<CODE>msql-1.0.16, msql-2.0.1</CODE>)¤¬Æþ¼ê¤Ç¤­¤Þ¤¹¡£
¤³¤Î°ã¤¤¤Ï¥Ñ¥Õ¥©¡¼¥Þ¥ó¥¹¤Î°ã¤¤(¾®¤µ¤¤»Å»ö¤Ç¤ÏÆä˺¹¤Ï¤¢¤ê¤Þ¤»¤ó)¤äźÉÕ¤µ¤ì¤Æ
¤¤¤ë¥½¥Õ¥È¥¦¥§¥¢¤Î°ã¤¤(¿·¤·¤¤¥Ð¡¼¥¸¥ç¥ó¤Ë¤Ï¿¤¯¤Î¥Ä¡¼¥ë¡¢¥¹¥¯¥ê¥×¥È¥Õ¥¡¥¤¥ë
¤¬¤¢¤ê¤Þ¤¹)¤Ë¤è¤Ã¤Æ¤¤¤Þ¤¹¡£°Ê²¼¤³¤Î£²¤Ä¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Ë¤Ä¤¤¤Æ
¤½¤ì¤¾¤ì²òÀ⤷¤Æ¤¤¤­¤Þ¤¹(2¡Á3°ã¤¤¤¬¤¢¤ê¤Þ¤¹)¡£
<P>
<H3>msql-1.0.16¤Î¥¤¥ó¥¹¥È¡¼¥ë</H3>

<P>msql¤Ï¥½¡¼¥¹¤äELF¥µ¥Ý¡¼¥È¥Ð¥¤¥Ê¥ê¤È¤·¤ÆÆþ¼ê¤Ç¤­¤Þ¤¹¡£ELF¥Ð¥¤¥Ê¥ê¤ò»È¤¨¤Ð
¥¤¥ó¥¹¥È¡¼¥ë¤Ï´Êñ¤Ç¤¹¡£¥¢¡¼¥«¥¤¥Ö¥Õ¥¡¥¤¥ë<CODE>msql-1.0.16.ELF.tgz</CODE>¤Ï
¤½¤Î¥Ñ¥Ã¥±¡¼¥¸Ãæ¤Ë¥¤¥ó¥¹¥È¡¼¥ëÀè¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ò´Þ¤ó¤À·Á¤Ç¥Ñ¥Ã¥±¡¼¥¸²½¤µ¤ì
¤Æ¤¤¤Þ¤¹¡£¤½¤Î¤¿¤áŸ³«¤¹¤ë»þ¤Ë¥ë¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ç
Ÿ³«¤¹¤ë¤À¤±¤ÇŬÅö¤Ê¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Þ¤¹¡£
<P>¤â¤·msql-1.0.16¤ò¥³¥ó¥Ñ¥¤¥ë¤·¤Æ¡¢DBI¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤è¤ê¤âMsqlPerl¥Ñ¥Ã¥±¡¼¥¸
(¤³¤Îξ¼Ô¤Î°ã¤¤¤Ë¤Ä¤¤¤Æ¤Ï¸å¤Ç½Ò¤Ù¤Þ¤¹)¤ò»È¤¦¾ì¹ç¤Ë¡¢
MsqlPerl¤ò¥Æ¥¹¥ÈÃæ¡Ösome instruction inside msql failed(msqlÆâ¤ÇÌ¿Î᤬¼ºÇÔ
¤·¤Þ¤·¤¿)¡×¤È¤Ê¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£¤³¤Î¾ì¹çMsqlPerl¥É¥­¥å¥á¥ó¥È
(<CODE>patch.lost.tables</CODE>)¤Ë½ñ¤«¤ì¤Æ¤¤¤ë¥Ñ¥Ã¥Á¤¬É¬ÍפǤ¹¡£ÆäË<CODE>msqldb.c</CODE>
¤Î1400¹Ô(<CODE> entry->def = NULL;</CODE>)¤«¤é¤Î3¹Ô
<PRE>
        *(entry->DB) = 0;
        *(entry->table) = 0;
        entry->age = 0;
</PRE>

¤¬ÂçÀڤǤ¹¡£
¥³¡¼¥É¥Õ¥é¥°¤Ï°Ê²¼¤Ç¤¹¡£
<HR>
<PRE>
        freeTableDef(entry->def);
        safeFree(entry->rowBuf);
        safeFree(entry->keyBuf);
        entry->def = NULL;
        *(entry->DB) = 0;
        *(entry->table) = 0;
        entry->age = 0;
</PRE>
<HR>

msql¤ò¥³¥ó¥Ñ¥¤¥ë¤¹¤ë¤¿¤á¤Ë¤¤¤¯¤Ä¤«¼ê½ç¤òƧ¤ß¤Þ¤¹¡£¤Þ¤¹¥½¡¼¥¹¥¢¡¼¥«¥¤¥Ö¤ò
Ÿ³«¤·¤Æ¥¿¡¼¥²¥Ã¥È¥Ç¥£¥ì¥¯¥È¥ê¤òºî¤ê¤Þ¤¹¡£
<PRE>
        # make target
</PRE>

¤³¤ì¤¬¤¦¤Þ¤¯¤¤¤Ã¤¿¤é¡¢¥·¥¹¥Æ¥à¤Ï
<BLOCKQUOTE><CODE>
<PRE>
Build of target directory for Linux-2.0.30-i486 complete
</PRE>
</CODE></BLOCKQUOTE>

¤Èɽ¼¨¤·¤Þ¤¹¡£
¤³¤Î¿·¤·¤¤¥Ç¥£¥ì¥¯¥È¥ê¤Ë°ÜÆ°¤·¤Æ
<PRE>
        # ./setup
</PRE>

¤È¼Â¹Ô¤·¤Þ¤¹¡£
<CODE>./</CODE>¥·¡¼¥±¥ó¥¹¤Ï¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Î<CODE>setup</CODE>¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë
¤¿¤á¤ËɬÍפǤ¹¡£¤³¤ì¤òÉÕ¤±¤Ê¤¤¤ÈÊ̤Î<CODE>setup</CODE>¤¬¼Â¹Ô¤µ¤ì¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
¥½¡¼¥¹¥Ç¥£¥ì¥¯¥È¥ê¤äroot¥¤¥ó¥¹¥È¡¼¥ë¤¬É¬Íפ«¤É¤¦¤«Ê¹¤«¤ì¤Þ¤¹¡£¤³¤Î¸å
¥·¥¹¥Æ¥à¤Ï¥³¥ó¥Ñ¥¤¥é¡¢¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ê¤É¤Î¥½¥Õ¥È¤¬»È¤¨¤ë¤«¥Æ¥¹¥È¤·¤Þ¤¹¡£
<BLOCKQUOTE><CODE>
<PRE>
Ready to build mSQL.

You may wish to check "common/site.h" although the defaults should be
fine.  When you're ready, type  "make all" to build the software
</PRE>
</CODE></BLOCKQUOTE>

¤Èɽ¼¨¤µ¤ì¤Þ¤¹¡£¤½¤·¤Æ
<PRE>
        # make all
</PRE>

¤È¼Â¹Ô¤·¤Æ²¼¤µ¤¤¡£
<P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
make[2]: Leaving directory `/usr/local/Minerva/src/msql'
&lt;-- [msql] done       

Make of mSQL complete.
You should now mSQL using make install

NOTE : mSQL cannot be used free of charge at commercial sites.
       Please read the doc/License file to see what you have to do.

make[1]: Leaving directory `/usr/local/Minerva/src'
</PRE>
</CODE></BLOCKQUOTE>

¥Ð¥¤¥Ê¥ê¤Ï<CODE>/usr/local/bin/</CODE>¤Ë¥½¥Õ¥È¥ê¥ó¥¯¤òºî¤ë¤³¤È¤Ç¸¡º÷¥Ñ¥¹
¤ËÄ̤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£<CODE>/usr/local/bin/</CODE>¥Ç¥£¥ì¥¯¥È¥ê¤Ë°ÜÆ°¤·¤Æ
<PRE>
        # ln -s /usr/local/Minerva/bin/* .
</PRE>

¤È¼Â¹Ô¤·¤Æ²¼¤µ¤¤¡£
<P>
<P>
<H3>msql-1¤Î¥Æ¥¹¥È</H3>

<P>¥¤¥ó¥¹¥È¡¼¥ë¸å¡¢¥Ç¡¼¥¿¥Ù¡¼¥¹¤¬¤Á¤ã¤ó¤ÈÆ°ºî¤¹¤ë¤«¤É¤¦¤«¥Æ¥¹¥È¤·¤Þ¤¹¡£
¥µ¡¼¥Ð¥Ç¡¼¥â¥ó¤ò¥¹¥¿¡¼¥È¤µ¤»¤ë¤¿¤á¤Ë¥·¥¹¥Æ¥à´ÉÍý¼Ô(root¸¢¸Â)¤È¤·¤Æ¥³¥Þ¥ó¥É¤ò
¼Â¹Ô¤·¤Þ¤¹¡£
<PRE>
        # msqld &amp;
</PRE>

(¥Ð¥Ã¥¯¥°¥é¥ó¥É¤Çmsql¤ò¼Â¹Ô¤¹¤ë¤¿¤á¤Ë¡¢<CODE>&amp;</CODE>¤òÉÕ¤±¤ë¤Î¤ò˺¤ì¤Ê¤¤
¤è¤¦¤Ë¤·¤Æ²¼¤µ¤¤)¡£°Ê²¼¤Î¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
<BLOCKQUOTE><CODE>
<PRE>
mSQL Server 1.0.16 starting ...

Warning : Couldn't open ACL file: No such file or directory
Without an ACL file global access is Read/Write
</PRE>
</CODE></BLOCKQUOTE>

¤³¤Î¥á¥Ã¥»¡¼¥¸¤Ï¡¢¥¢¥¯¥»¥¹À©¸Â¤òÀßÄꤷ¤Æ¤¤¤Ê¤¤¤¿¤á¤ËÆ°ºî¤·¤Æ¤¤¤Ê¤¤
¤È¤¤¤¦¤³¤È¤ò°ÕÌ£¤·¤Æ¤¤¤Þ¤¹¡£¤µ¤·¤¢¤¿¤Ã¤Æ¥·¥§¥ëÆ⤫¤émsql¥Ç¡¼¥â¥ó¤ò³«»Ï
¤Ç¤­¤Þ¤¹¡£¤½¤³¤Ç¥³¥Þ¥ó¥É¤òŬÅö¤Ê<CODE>rc.d</CODE>¥¹¥¯¥ê¥×¥È¤Ë½ñ¤¤¤Æ¤ª¤­¤Þ¤¹(
´ÉÍý¼Ô¤À¤±¤¬¥Ç¡¼¥¿¥Ù¡¼¥¹¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤Ç¤­¤Þ¤¹)¡£
<PRE>
        # msqladmin create inventur
</PRE>

(<EM>ÌõÃí¡§</EM>¤³¤Î¥³¥Þ¥ó¥É¤Î¼Â¹Ô¤Ç¶õ¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹inventur¤¬ºî¤é¤ì¤Þ¤¹)¡£
msql¤Ï<CODE>Database "inventur" created.</CODE>¤ÈÊÖÅú¤·¤Þ¤¹¡£
<CODE>/usr/local/Minerva/msqldb/</CODE>¥Ç¥£¥ì¥¯¥È¥ê¤Ë¶õ¤Î<CODE>../inventur/</CODE>
¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤¬¤Ç¤­¤Þ¤¹¡£¤³¤Î¿·¤·¤¤¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ï¥¢¥É¥ß¥Ë¥¹¥È¥ì¡¼¥·¥ç¥ó
¥Ä¡¼¥ë(¾ÜºÙ¤Ïmsql¥É¥­¥å¥á¥ó¥È¤Ë½ñ¤«¤ì¤Æ¤¤¤Þ¤¹)¤ò»È¤Ã¤ÆÁàºî¤Ç¤­¤Þ¤¹¡£
<P>
<H3>msql-2.0.1¤Î¥¤¥ó¥¹¥È¡¼¥ë</H3>

<P>¿·¤·¤¯¥Ñ¥ï¥Õ¥ë¤ÊHughe¤ÎmSQL¥µ¡¼¥Ð¤¬¤¢¤ê¡¢°ÊÁ°¤Î¥Ð¡¼¥¸¥ç¥ó¤È2¡Á3¤ÎÅÀ¤Ç
¥¤¥ó¥¹¥È¡¼¥ë¤Ë°ã¤¤¤¬¤¢¤ê¤Þ¤¹¡£msql-2¤Î¥¤¥ó¥¹¥È¡¼¥ë¤ò¤Ï¤¸¤á¤«¤é¹Ô¤¦¤Ë¤Ï
°Ê²¼¤Î¥¹¥Æ¥Ã¥×¤ò¤Õ¤ß¤Þ¤¹¡£Å¬Åö¤Ê¥Ç¥£¥ì¥¯¥È¥ê(Î㤨¤Ð<CODE>/usr/local/msql-2/</CODE>)
¤Ë¥¢¡¼¥«¥¤¥Ö¤ò¥³¥Ô¡¼¤·¤ÆŸ³«¤·¤Þ¤¹¡£
<PRE>
        # tar xfvz msql-2.0.1.tar.gz 
</PRE>

(<EM>ÌõÃí¡§</EM>¥¢¡¼¥«¥¤¥Ö¤Ï°Ê²¼¤Î¥µ¥¤¥È¤«¤éÆþ¼ê¤Ç¤­¤Þ¤¹¡£
<A HREF="http://www.hughes.com.au/software/msql2/">http://www.hughes.com.au/software/msql2/</A>)
<PRE>
        # make target
</PRE>

¤È¼Â¹Ô¤·¤Þ¤¹¡£
<CODE>targets</CODE>¤ËÊѹ¹¤·¤Æ¥Þ¥·¥ó¥¿¥¤¥×¤òÁª¤Ó¤Þ¤¹¡£¿·¤·¤¤¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê
<CODE>Linux-</CODE><I>(¥Ð¡¼¥¸¥ç¥ó)-(CPU)/</I>
¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ËÊѹ¹¤·¤Æ°Ê²¼¤Î¤è¤¦¤Ë¥»¥Ã¥È¥¢¥Ã¥×¤ò¥¹¥¿¡¼¥È¤·¤Þ¤¹¡£
<PRE>
        # ./setup
</PRE>

ÊÔ½¸²Äǽ¤Ê<CODE>site.mm</CODE>¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¤Þ¤¹¡£¥Ç¥£¥ì¥¯¥È¥ê̾
<CODE>/usr/local/Minerva/</CODE>¤ò»È¤Ã¤Æ¤¤¤ë¤³¤È¤È»×¤¤¤Þ¤¹¡£
Êݸ¤·¤¿¤¤¤Ç¤¹¤«¡©¤³¤Î¾ì¹ç<CODE>INST_DIR=...</CODE>¤Î¹Ô¤ËÊݸ¤·¤¿¤¤¥Ç¥£¥ì¥¯¥È¥ê
̾¤ò½ñ¤­¹þ¤ó¤Ç²¼¤µ¤¤¡£
¥Ç¡¼¥¿¥Ù¡¼¥¹¤ò¹½ÃÛ¤·¤Þ¤¹¡£
<PRE>
        # make
        # make install
</PRE>

¥¤¥ó¥¹¥È¡¼¥ë¤ËÀ®¸ù¤¹¤ë¤È°Ê²¼¤Î¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
<BLOCKQUOTE><CODE>
<PRE>
[...]

Installation of mSQL-2 complete.

*********
**   This is the commercial, production release of mSQL-2.0
**   Please see the README file in the top directory of the
**   distribution for license information.
*********
</PRE>
</CODE></BLOCKQUOTE>

¥¤¥ó¥¹¥È¡¼¥ë¤¬Å¬Àڤ˹Ԥï¤ì¤¿¤é¼¡¤Ï¥Ç¡¼¥¿¥Ù¡¼¥¹´ÉÍý¤Î¾ÜºÙ¤ËÃí°Õ¤ò
ʧ¤ï¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£¤³¤³¤Çmsql-1¤È¤Ï°ã¤¦ºî¶È¤¬É¬ÍפǤ¹¡£¥Ç¡¼¥¿¥Ù¡¼¥¹
´ÉÍý¤òô¤¦¥æ¡¼¥¶<CODE>msql</CODE>¤òºî¤ê¤Þ¤¹¡§
<PRE>
        # adduser msql
</PRE>

mSQL¥Ç¥£¥ì¥¯¥È¥ê¤Î¥ª¡¼¥Ê¡¼¤ò<CODE>msql</CODE>¤ËÊѹ¹¤·¤Þ¤¹¡£
<PRE>
        # cd /usr/local/Minerva
        # chown -R msql:msql *
</PRE>

¼¡¤Ë<CODE>/usr/local/bin/</CODE>¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¥Ð¥¤¥Ê¥ê¤Ø¤Î¥½¥Õ¥È¥ê¥ó¥¯¤ò
ºî¤ê¤Þ¤¹¡£
<PRE>
        # ln -s /usr/local/Minerva/bin/* .
</PRE>

°Ê¾å¤Ç¤¹¡£
<P>
<H3>msql-2¤Î¥Æ¥¹¥È</H3>

<P>¥Ç¡¼¥¿¥Ù¡¼¥¹¥µ¡¼¥Ð¤Ï<CODE>msql2d &amp;</CODE>¥³¥Þ¥ó¥É¤Ë¤è¤Ã¤Æ³«»Ï¤µ¤ì¡¢
<BLOCKQUOTE><CODE>
<PRE>
Mini SQL Version 2.0.1
Copyright (c) 1993-4 David J. Hughes
Copyright (c) 1995-7 Hughes Technologies Pty. Ltd.
All rights reserved.

        Loading configuration from '/usr/local/Minerva/msql.conf'.
        Server process reconfigured to accept 214 connections.
        Server running as user 'msql'.
        Server mode is Read/Write.

Warning : No ACL file.  Using global read/write access.
</PRE>
</CODE></BLOCKQUOTE>

¤È±þÅú¤¬½Ð¤Þ¤¹¡£
¤³¤ì¤Ç´°àú¤Ç¤¹¡£¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ï¥³¥ó¥Ñ¥¤¥ë¤µ¤ìŬÅö¤Ê¾ì½ê¤Ë¤¢¤ê¤Þ¤¹¡£
³¤¤¤Æperl¥â¥¸¥å¡¼¥ë¤ò·Ñ³¤·¤Þ¤¹¡£perl¥â¥¸¥å¡¼¥ë¤Ï¥Æ¥¹¥ÈÍѤËÆ°ºî¤·¤Æ¤¤¤ë
¥Ç¡¼¥¿¥Ù¡¼¥¹¥µ¡¼¥Ð¤Î¿¶Éñ¤¤¤ËÉôʬŪ¤Ë´ð¤Å¤¤¤Æ¤¤¤Þ¤¹¡£
<P>¤­¤Ã¤«¤±¤¬¤¢¤ì¤Ðmsql-2.0.1¤ËÉí°¤·¤Æ¤¤¤ë¥Þ¥Ë¥å¥¢¥ë¤Î°õºþ¤ò¤·¤Æ¤ª¤¯¤È
¤è¤¤¤Ç¤·¤ç¤¦¡§
<PRE>
        # gzip -d manual.ps.gz
        # lpr manual.ps
</PRE>

³¤¤¤Æ¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤Î¹½ÃÛ¤ò¹Ô¤¤¤Þ¤¹¤¬¡¢¿·¤·¤¯ºî¤Ã¤¿SQL¥µ¡¼¥Ð¤òÊݸ¤·¤Æ
¼Â¹Ô¤·¤¿¤Û¤¦¤¬¤è¤¤¤Ç¤·¤ç¤¦¡£¤½¤Î¤Û¤¦¤¬°Â¿´¤·¤Æ¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¥é¥¤¥Ö¥é¥ê
¤Î¥Æ¥¹¥È¤¬¤Ç¤­¤Þ¤¹¡£
<P>
<P>
<H2><A NAME="ss3.8">3.8 ¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤ÎÁªÂò¡§DBI/mSQL, MsqlPerl, Lite</A>
</H2>

<P>perl¤ò»È¤¦»þ¤Ë»²¹Í¤Ë¤Ê¤ë¤³¤È¤¬¤é¤¬Camel Book(<EM>ÌõÃí¡§</EM>¡Ö¥é¥¯¥ÀËܡפÈ
¸Æ¤Ð¤ì¤ë¤â¤Î¤Ç¤¹)¤Ë½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤Ïº£²ó¤Î¥â¥Ç¥ë¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ò
¤â½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡£´ðËÜŪ¤ËCGI¤ò·Ðͳ¤·¤Æmsql¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ë¥¢¥¯¥»¥¹¤¹¤ëÊýË¡¤¬
°Ê²¼£³¤Ä¤¢¤ê¤Þ¤¹¡£
¤Ï¤¸¤á¤Ëperl¤ò»È¤¦¤«¤É¤¦¤«¤È¤¤¤¦¤³¤È¤Ë´Ø¤¹¤ë¤³¤È¤Ç¤¹¡£
(¤³¤Îʸ½ñ¤¬ÂоݤȤ·¤Æ¤¤¤ë)perl¤ò»È¤¦¤Ê¤éÆó¤Ä¤Î°Û¤Ê¤ë¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¥â¥Ç¥ë
¤Î¤É¤Á¤é¤«¤òÁª¤Ù¤Þ¤¹¡£perl¤ò»È¤¦¾ì¹ç¤ÏmsqlÆȼ«¤Î¥¹¥¯¥ê¥×¥È¸À¸ì(Lite)¤â»È¤¦
¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£Èó¾ï¤Ë¤ï¤«¤ê¤ä¤¹¤¯¡¢C¸À¸ì¤Ë¶á¤¤¥¯¥í¡¼¥ó¤Ç¤¹¡£
<P>
<P>
<H3>DBI ¤È DBD-mSQL</H3>

<P>¤³¤Î¼¹É®¤Î»þÅÀ¤Þ¤Ç¤ËDBI¤È¸Æ¤Ð¤ì¤ëperl¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤¬  ¡£
DBI¤Ï2,3¤ÎÌòΩ¤ÄÅÀ¤¬¤¢¤ê¤Þ¤¹¡§¥³¥Þ¥ó¥É°ì¤Ä¤Ç¿¤¯¤Î¾¦Íѥǡ¼¥¿¥Ù¡¼¥¹¤òÁàºî
¤Ç¤­¤ëÅý°ì¤µ¤ì¤¿¥¢¥¯¥»¥¹¥³¥ó¥È¥í¡¼¥ë¤¬Ä󶡤µ¤ì¤Æ¤¤¤Þ¤¹¡£Í¿¤¨¤é¤ì¤¿¥·¥¹¥Æ¥à
¤Ç¼ÂºÝ¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ï¥×¥í¥°¥é¥Þ¤«¤é¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î²£¼è¤ê(pecularities)¤ò
Ëɤ°¥É¥é¥¤¥Ð¤ò»È¤Ã¤Æ¥¢¥¯¥»¥¹¤Ç¤­¤ë¡£DBI¤ò»È¤¦¤³¤È¤Ç¥Þ¡¼¥«¡¼¤Ë¤è¤ë°Û¤Ê¤ë¥Ç¡¼¥¿
¥Ù¡¼¥¹´Ö¤Ç¥¹¥à¡¼¥º¤Ê°Ü¹Ô¤¬¤Ç¤­¤ë¡£°ì¤Ä¤Î¥¹¥¯¥ê¥×¥È¤ÇÊ£¿ô¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ë
¥¢¥¯¥»¥¹¤Ç¤­¤ë¡£¾Ü¤·¤¯¤ÏDBI-FAQ¤ò»²¾È¤·¤Æ²¼¤µ¤¤¡£¤·¤«¤·°ì¤Ä·çÅÀ¤â¤¢¤ê¤Þ¤¹¡§
DBI¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤Ï¤Þ¤¿³«È¯Ãæ¤Ç¥Ð¡¼¥¸¥ç¥ó¤¬¤É¤ó¤É¤óÊѤï¤Ã¤Æ¤¤¤Þ¤¹(°ì¥«·î
¤â·Ð¤¿¤Ê¤¤¤¦¤Á¤Ë¿·¤·¤¤¤â¤Î¤ËÊѤï¤Ã¤Æ¤·¤Þ¤¦¤³¤È¤â¤¢¤ê¤Þ¤¹)¡£Æ±Íͤˤ½¤ì¤¾¤ì¤Î
¥Ç¡¼¥¿¥Ù¡¼¥¹¥É¥é¥¤¥Ð¤â¥¢¥Ã¥×¥Ç¡¼¥È¤µ¤ìÆÃÄê¤Î¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¥Ð¡¼¥¸¥ç¥ó¤Ë
°Í¸¤·¤Æ¤¤¤ë¤³¤È¤â¤¢¤ê¤Þ¤¹¡£½é´ü¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¥æ¡¼¥¶¡¼¤Ï¤³¤Îʸ½ñ¤Çµó¤²¤¿
¥Ð¡¼¥¸¥ç¥ó¤ò¤Ä»È¤ï¤Ê¤¤¤È¤¤¤±¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£¤È¤¤¤¦¤Î¤â¾¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï
Ê£»¨¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤Ã¤¿¤ê¡¢¥Æ¥¹¥È¤Î¥È¥é¥Ö¥ë¥·¥å¡¼¥Æ¥£¥ó¥°¤â°ÕÌ£¤Î¤Ê¤¤¤â¤Î¤Ë
¤Ê¤Ã¤Æ¤·¤Þ¤¦¤³¤È¤¬¤¢¤ë¤«¤é¤Ç¤¹¡£
<P>
<H3>MsqlPerl</H3>

<P>MsqlPerl ¤Ïperl¥¹¥¯¥ê¥×¥È¤«¤émsql¤ËľÀÜ¥¢¥¯¥»¥¹¤¹¤ë¤¿¤á¤Î¥é¥¤¥Ö¥é¥ê¤Ç¤¹¡£
DBI¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤ò²óÈò¤·¤Æ¤È¤Æ¤â¥³¥ó¥Ñ¥¯¥È¤Ç¤¹¡£
msql¤Îξ¥Ð¡¼¥¸¥ç¥ó¤È¤â¤è¤¯Æ°ºî¤·¤Þ¤¹¤¬¡¢¤½¤Î»È¤¤Êý¤Ï°ìÈ̲½¤µ¤ì¤¿DBI
¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤ò»È¤¦(promoted)¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£
¤Ç¤¹¤¬¾®¤µ¤¤¥·¥¹¥Æ¥à¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤¬ÍưפʤΤÇÁªÂò¤¹¤ë¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤È
¤·¤Þ¤¹¡£ÆäËDBI¤äÆÃÄê¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¥É¥é¥¤¥Ð¤è¤ê¤â¥Ð¡¼¥¸¥ç¥ó¤Ë°Í¸¤·¤Þ¤»¤ó¡£
<P>
<P>
<H3>msql¤Î¥¹¥¯¥ê¥×¥È¸À¸ì¡§Lite </H3>

<P>msql-2¤Ç¤Ï¥¹¥¯¥ê¥×¥È¸À¸ì(Lite)¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£¤³¤Î¸À¸ì¤Ï¥·¥§¥ë¥é¥¤¥¯¤Ê
ÆÃħ¤òÄɲä·¤¿¤Á¤ç¤Ã¤ÈÊѤï¤Ã¤¿¤â¤Î¤Ç¤¹(ÆÃÄê¤ÎPerl¥Ð¡¼¥¸¥ç¥ó¤Ë»÷¤Æ¤¤¤Þ¤¹)¡£
Lite¤Ï¥·¥ó¥×¥ë¤Ê¸À¸ì¤Çmsql-2¥Þ¥Ë¥å¥¢¥ë¤Ë¾Ü¤·¤¯½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡£msql-2
¥Ñ¥Ã¥±¡¼¥¸¤Ë¤ÏLite¤ò»È¤Ã¤¿´Êñ¤Ê¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤âÉí°¤·¤Æ¤¤¤Þ¤¹¡£
<P>Lite¤Ë¤Ä¤¤¤Æ¤ÏÍ¥¤ì¤¿Ê¸½ñ(msql-2¤ËÆÃÄꤷ¤¿ÆâÍÆ)¤¬¤¢¤ë¤Î¤Ç¤³¤³¤Ç¤ÏLite¤Ë
¤Ä¤¤¤Æ¤ÏÀâÌÀ¤·¤Þ¤»¤ó¡£¤Þ¤¿¤³¤Îʸ½ñ¤òÆɤó¤Ç¤¤¤ëÆɼԤÏperl¤Ë¤Ä¤¤¤Æ´ðÁÃŪ¤Ê
Íý²ò¤¬¤¢¤ë¤â¤Î¤ÈÁÛÄꤷ¤Æ¤¤¤Þ¤¹¡£
¤Ç¤¹¤¬Lite¤ò¤è¤¯Ä´¤Ù¤Æ¤ß¤ë¤³¤È¤ò¤ª¾©¤á¤·¤Þ¤¹¡£Lite¤Ï¤½¤Î¥·¥ó¥×¥ë¤Ç
ľ´ÑŪ¤Ê³µÇ°¤Ë´Ø¤·¤Æmsql-2´Ä¶­(¾¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ç¹Ô¤ï¤ì¤Æ¤¤¤ë¤è¤¦¤Ê)
¤Ç¤Î²ò·è¤òÄ󶡤·¤Æ¤¤¤ë¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£
<P>
<P>
<H2><A NAME="ss3.9">3.9 °ìÈÌŪ¤ÊÊýË¡¡§DBI ¤È DBD-msql</A>
</H2>

<P>¤¹¤Ç¤Ë¥·¥¹¥Æ¥àÀßÄê¤Çperl¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¢¤ë¤«¾åµ­¤·¤¿¥Ñ¥Ã¥±¡¼¥¸¥Þ¥Í¡¼¥¸¥ã¤ò
»È¤Ã¤Æperl¤¬Æþ¤Ã¤Æ¤¤¤ë¤â¤Î¤È¤·¤Þ¤¹¡£perl¤Ë¤Ä¤¤¤Æ¤Ï¾Ü¤·¤¯½Ò¤Ù¤Þ¤»¤ó¡£
perl¤Î¥Ð¡¼¥¸¥ç¥ó¤ò¸«¤ë¤Ë¤Ï¡¢
<PRE>
        # perl -v
</PRE>

¤È¤·¤Þ¤¹¡£
perl¤Ï°Ê²¼¤Î¥á¥Ã¥»¡¼¥¸¤òɽ¼¨¤·¤Þ¤¹¡£
<BLOCKQUOTE><CODE>
<PRE>

This is perl, version 5.003 with EMBED
        Locally applied patches:
          SUIDBUF - Buffer overflow fixes for suidperl security

        built under linux at Apr 22 1997 10:04:46
        + two suidperl security patches

Copyright 1987-1996, Larry Wall
[...]
</PRE>
</CODE></BLOCKQUOTE>

¤³¤ì¤ÇÌäÂê¤Ê¤±¤ì¤Ð¡¢¼¡¤Ï¥Ç¡¼¥¿¥Ù¡¼¥¹ÍѤÎperl¥é¥¤¥Ö¥é¥ê(DBI)¡¢msql¥É¥é¥¤¥Ð
(DBD-mSQL)¡¢CGI¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£CGI¥É¥é¥¤¥Ð¤Ï¤¤¤í¤ó¤Ê¾ìÌ̤ÇɬÍפË
¤Ê¤ê¤Þ¤¹¡££³¤Ä¤Î¥¢¡¼¥«¥¤¥Ö¤¬É¬ÍפǤ¹¡§
<OL>
<LI> DBI-0.81.tar.gz</LI>
<LI> DBD-mSQL-0.65.tar.gz</LI>
<LI> CGI.pm-2.31.tar.gz (¤¢¤ë¤¤¤Ï¤³¤ì°Ê¾å¤Î¤â¤Î)</LI>
</OL>

½é¿´¼Ô¤ÎÊý¤ËÃí°Õ¤¬¤¢¤ê¤Þ¤¹¡£¤³¤³¤Þ¤Ç¤Ç½Ò¤Ù¤Æ¤­¤¿¥Æ¥¹¥È¥¤¥ó¥¹¥È¡¼¥ë
¤Ï¾åµ­¤·¤¿¥Ð¡¼¥¸¥ç¥ó¤ò»È¤Ã¤ÆÀµ³Î¤ËÆ°¤¤¤Æ¤¤¤Þ¤¹¡£Â¾¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï
¥¨¥é¡¼¤È¤Ê¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£·ç´Ù¤Î¤¢¤ë¥Ð¡¼¥¸¥ç¥ó¤Î¥Ç¥Ð¥Ã¥°¤Ï
¸Æ¤Ó½Ð¤·¤Îµ¬Â§(conventions)¤ä¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤Ë¤Ä¤¤¤Æ¾Ü¤·¤¯
¤Ê¤¤¿Í¤Ë¤Ï¤É¤¦¤·¤è¤¦¤â¤¢¤ê¤Þ¤»¤ó¡£
<P>Ʊ¤¸Æ°ºî¤ò¤·¤Æ¤¤¤ë¤â¤Î¤ò¥ê¥Í¡¼¥à¤¹¤ë¤Î¤¬°ì¤Ä¤ÎÊýË¡¤Ç¤¹¤¬
ÆâÉô¹½Â¤¤¬Ãø¤·¤¯Êѹ¹¤µ¤ì¤Æ¤¤¤ë¤³¤È¤¬¤¢¤Ã¤¿¤ê¤·¤Þ¤¹¡£
¤½¤³¤Ç  ¤½¤ì¤Þ¤Ç¤Ï¿·¤·¤¤¥Ð¡¼¥¸¥ç¥ó¤Ë¾å¤¬¤Ã¤Æ¤¤¤Æ¤â¡¢°ÂÁ´¤Ë»È¤¤¤¿¤¤¤Î¤Ç¤¢¤ì
¤Ð¤³¤³¤Ç¾Ò²ð¤·¤¿¥Ð¡¼¥¸¥ç¥ó¤Ë¤¹¤ë¤è¤¦¿´¤¬¤±¤Æ²¼¤µ¤¤¡£
<P>mSQL((DBD-mSQL)ÍѤΥǡ¼¥¿¥Ù¡¼¥¹¥É¥é¥¤¥Ð¤Ï¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹(generic interface)
DBI¤Î<EM>¸å¤Ë</EM>¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤È¤¤¤¦¤³¤È¤Ï½ÅÍפǤ¹¡£
<P>¥ª¥ê¥¸¥Ê¥ë¤Îperl¥Ç¥£¥ì¥¯¥È¥ê¤òÊݸ¤¹¤ë¤¿¤á¤Ë<CODE>/usr/local/PerlModules/</CODE>
¥Ç¥£¥ì¥¯¥È¥ê¤òºî¤ë¤³¤È¤«¤é»Ï¤á¤Þ¤¹¡£¥Ç¥£¥ì¥¯¥È¥ê̾¤ÏÆä˷è¤Ã¤Æ¤¤¤Ê¤¤¤Î¤Ç
¤³¤ì¤È¤Ï°ã¤¦Ì¾Á°¤Ë¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹(¤É¤Îperl¥â¥¸¥å¡¼¥ë¤ÎREADME¥Õ¥¡¥¤¥ë¤Ë¤â
¥Ç¥£¥ì¥¯¥È¥ê̾¤Ë¤Ä¤¤¤Æ¤Ï½ñ¤«¤ì¤Æ¤¤¤Þ¤»¤ó)¡£¾åµ­¤Î¥¢¡¼¥«¥¤¥Ö¤ò
<CODE>/usr/local/PerlModules/</CODE>¤Ë¥³¥Ô¡¼¤·¤Æ¡¢
<PRE>
# tar xzvf [archive-file]
</PRE>

£³¤Ä¤Î¥¢¡¼¥«¥¤¥Ö¤ò¤½¤ì¤¾¤ìŸ³«¤·¤Þ¤¹([archive-file]¤Ï¥¢¡¼¥«¥¤¥Ö̾¤Ë
ÃÖ¤­´¹¤¨¤Æ²¼¤µ¤¤)¡£
<P>£³¤Ä¤Î¥â¥¸¥å¡¼¥ë¤Î¥¤¥ó¥¹¥È¡¼¥ë¥×¥í¥»¥¹¤ÏÄ̾ïÄ̤ê¹Ô¤¤¤Þ¤¹(¤³¤Î¥É¥­¥å¥á¥ó¥È
¤Ç¤Ï³Æ¥Ñ¥Ã¥±¡¼¥¸¤Ç½ÅÍפʤâ¤Î¤À¤±¤ò½ñ¤­½Ð¤·¤Æ¤·¤Þ¤¹)¡£
<P>
<H3>perl¥Ç¡¼¥¿¥Ù¡¼¥¹¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹ DBI ¤Î¥¤¥ó¥¹¥È¡¼¥ë</H3>

<P>¥Ç¡¼¥¿¥Ù¡¼¥¹¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤ÏÆÃÄê¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¥É¥é¥¤¥Ð¤ò¥¤¥ó¥¹¥È¡¼¥ë
¤¹¤ëÁ°¤ËÆþ¤ì¤Æ¤ª¤¤¤Æ²¼¤µ¤¤¡£DBI¥¢¡¼¥«¥¤¥Ö¤òŸ³«¤¹¤ë¤È
<CODE>/usr/local/PerlModules/DBI-0.81/</CODE>¥Ç¥£¥ì¥¯¥È¥ê¤¬ºî¤é¤ì¤ë¤Î¤Ç
¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë°ÜÆ°¤·¤Þ¤¹¡£<CODE>README</CODE>¥Õ¥¡¥¤¥ë¤ÈperlÍÑmakefile¤¬
¤¢¤ê¤Þ¤¹¡£
<PRE>
        # perl Makefile.PL
</PRE>

¤È¼Â¹Ô¤·¤Æ²¼¤µ¤¤¡£
¼¡¡¹¤È¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£¤½¤Î¤¦¤Á½ÅÍפʲսê¤ò°úÍѤ·¤Þ¤¹¡£
<BLOCKQUOTE><CODE>
<PRE>
[...]
MakeMaker (v5.34)
Checking if your kit is complete...
Looks good
        NAME => q[DBI]
        PREREQ_PM => {  }
        VERSION_FROM => q[DBI.pm]
        clean => { FILES=>q[$(DISTVNAME)/] }
        dist => { DIST_DEFAULT=>q[clean distcheck disttest [...]
Using PERL=/usr/bin/perl

WARNING! By default new modules are installed into your 'site_lib'
directories. Since site_lib directories come after the normal library
directories you MUST delete old DBI files and directories from your 'privlib' 
and 'archlib' directories and their auto subdirectories.

Writing Makefile for DBI
</PRE>
</CODE></BLOCKQUOTE>

¤Á¤ã¤ó¤È¼Â¹Ô¤µ¤ì¤Æ¤¤¤ë¤è¤¦¤Ç¤¹¡£¼¡¤Ë
<PRE>
        # make
</PRE>

¤È¼Â¹Ô¤·¤Þ¤¹¡£
¤â¤·¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤¬½Ð¤Ê¤±¤ì¤Ð(²èÌ̤Ëɽ¼¨¤µ¤ì¤ë¥×¥í¥È¥³¥ë¤Ï¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸
¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó)¡¢¿·¤·¤¯¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤ë¥é¥¤¥Ö¥é¥ê¤ò¥Æ¥¹¥È¤·¤Þ¤¹¡£
<PRE>
        # make test
</PRE>

ɽ¼¨¤µ¤ì¤ë½ÐÎϤÏ<CODE>[Shift]-[PgUp]</CODE>¤Ç¥¹¥¯¥í¡¼¥ë¤Ç¤­¤Þ¤¹¡£
<BLOCKQUOTE><CODE>
<PRE>
[...]
t/basics............ok
t/dbidrv............ok
t/examp.............ok
All tests successful.
[...]
DBI test application $Revision: 1.2 $
Switch: DBI-0.81 Switch by Tim Bunce, 0.81
Available Drivers: ExampleP, NullP, Sponge
ExampleP: testing 2 sets of 5 connections:
Connecting... 1 2 3 4 5 
Disconnecting...
Connecting... 1 2 3 4 5 
Disconnecting...
Made 10 connections in  0 secs ( 0.00 usr  0.00 sys =  0.00 cpu)

test.pl done
</PRE>
</CODE></BLOCKQUOTE>

ºÇ¸å¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥Õ¥¡¥¤¥ë¤òÆþ¤ì¤Þ¤¹¡£
<PRE>
        # make install
</PRE>

¤³¤Î¥³¥Þ¥ó¥É¤Ï½½Ê¬¤Ë³Îǧ¤·¤Æ¤«¤é¼Â¹Ô¤·¤Æ²¼¤µ¤¤¡£
¤³¤ì°Ê¾å¤¹¤ë¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤â¤·¤Ê¤ó¤é¤«¤ÎÍýͳ¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤Ë¼ºÇÔ¤·¤¿¤é
˺¤ì¤Ê¤¤¤¦¤Á¤Ëºî¶È¤ò¤ä¤êľ¤·¤Æ²¼¤µ¤¤¡£
<PRE>
        # make realclean
</PRE>

¤Þ¤¹¤Ï¤¸¤á¤Ë¡£¤³¤Î¥³¥Þ¥ó¥É¤ÏÁ°¤Î¥¤¥ó¥¹¥È¡¼¥ë¤ÇÉÔÍѤʤâ¤Î¤òºï½ü¤·¤Þ¤¹¡£
¤Þ¤¿²èÌ̤Îɽ¼¨(°Ê²¼¾Êά¤·¤Æµó¤²¤Þ¤·¤¿)¤ò¥³¥Ô¡¼¤·¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¥Õ¥¡¥¤¥ë¤â
ºï½ü¤Ç¤­¤Þ¤¹¡£
<BLOCKQUOTE><CODE>
<PRE>
Installing /usr/lib/perl5/site_perl/i386-linux/./auto/DBI/DBIXS.h
Installing /usr/lib/perl5/site_perl/i386-linux/./auto/DBI/DBI.so
Installing /usr/lib/perl5/site_perl/i386-linux/./auto/DBI/DBI.bs
[...]
Writing /usr/lib/perl5/site_perl/i386-linux/auto/DBI/.packlist
Appending installation info to /usr/lib/perl5/i386-linux/5.003/perllocal.pod
</PRE>
</CODE></BLOCKQUOTE>

¤³¤Î<CODE>Installing</CODE>¤ò<CODE>rm</CODE>¤ËÃÖ¤­´¹¤¨¤Þ¤¹¡£¤³¤ì¤ò<CODE>uninstall</CODE>¤ËÊݸ¤·¤Æ
<PRE>
        # . uninstall
</PRE>

¤È¼Â¹Ô¤¹¤ì¤Ð¡¢¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¤¬ºï½ü¤µ¤ì¤Þ¤¹¡£
<P>
<H3>perl ¤Î msql ¥É¥é¥¤¥Ð DBD-mSQL</H3>

<P>msql¥É¥é¥¤¥Ð¤Ïperl¥Ç¡¼¥¿¥Ù¡¼¥¹(generic database)¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤Î
¥¤¥ó¥¹¥È¡¼¥ë¤¬<EM>¤¦¤Þ¤¯¤¤¤Ã¤¿¸å¤Ë</EM>¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£
¥¤¥ó¥¹¥È¡¼¥ë²áÄø¤Ï¾åµ­¤·¤¿¥¹¥Æ¥Ã¥×¤ÈƱ¤¸¤Ç¤¹¡£
<PRE>
        # perl Makefile.PL
</PRE>

¤³¤³¤Ç¥·¥¹¥Æ¥à¤ÏźÉեɥ­¥å¥á¥ó¥È¤òÆɤà¤è¤¦¤Ë·Ù¹ð¤òɽ¼¨¤·¤Þ¤¹¡£¤³¤³¤Ç
msql¤Î¾ì½ê¤ò¸«¤Ä¤±¤Þ¤¹¡£
<BLOCKQUOTE><CODE>
<PRE>

$MSQL_HOME not defined. Searching for mSQL...
Using mSQL in /usr/local/Hughes

 -> Which version of mSQL are you using [1/2]? 
</PRE>
</CODE></BLOCKQUOTE>

Àµ¤·¤¤¥Ð¡¼¥¸¥ç¥ó¤òÆþÎϤ·¤Æ²¼¤µ¤¤¡£°Ê²¼2,3¹Ô¤òɽ¼¨¤·¤Þ¤¹¡£
<BLOCKQUOTE><CODE>
<PRE>
Splendid! Your mSQL daemon is running. We can auto-detect your configuration!

I've auto-detected your configuration to be running on port: 1114
</PRE>
</CODE></BLOCKQUOTE>

°Ê²¼¤Î¤è¤¦¤Ë¤·¤Æ¥É¥é¥¤¥Ð¤Î¥Æ¥¹¥È¤ò¤·¤Þ¤¹¡£
<PRE>
        # make test
</PRE>

ºÆ¤ÓŤ¤½ÐÎϤ¬¤¢¤ê¡¢
<BLOCKQUOTE><CODE>
<PRE>
Testing: $cursor->func( '_ListSelectedFields' ). This will fail.
        ok: not a SELECT in msqlListSelectedFields!
Re-testing: $dbh->do( 'DROP TABLE testaa' )
        ok
*** Testing of DBD::mSQL complete! You appear to be normal! ***
</PRE>
</CODE></BLOCKQUOTE>

¤Ç½ª¤ê¤Þ¤¹¡£
¤³¤ì¤ÇÂç¾æÉפǤ¹¡£
<PRE>
        # make install
</PRE>

¤È¤·¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£
¤â¤¦½àÈ÷¤Ç¤­¤¿¤Î¤Ç¼¡¤ÎÀá¤ÏÈô¤Ð¤·¤Æ¤¯¤À¤µ¤¤¡£
<P>
<P>
<H2><A NAME="ss3.10">3.10 MsqlPerl¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹</A>
</H2>

<P>¤â¤·MsqlPerl¤ÎÊý¤òÁª¤ó¤À¤Ê¤é¡¢<CODE>MsqlPerl-1.15.tar.gz</CODE>°Ê³°¤ËÆÃÄê¤Î¥Ç¡¼¥¿
¥Ù¡¼¥¹¥É¥é¥¤¥Ð(generic database driver)¤ÏɬÍפ¢¤ê¤Þ¤»¤ó¡£»Ï¤á¤Ë½ñ¤¤¤¿¤è¤¦¤Ë
MsqlPerl¤Ïperl¤È¥Ç¡¼¥¿¥Ù¡¼¥¹¥µ¡¼¥Ð´Ö¤ÇDBI¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤ò»È¤ï¤º¤ËľÀÜ
¤ä¤ê¼è¤ê¤ò¤¹¤ë¤«¤é¤Ç¤¹¡£Ä¾ÀÜ¥¤¥ó¥¹¥È¡¼¥ë¡¢¥Æ¥¹¥È¤·¤Þ¤¹¡£
<P><CODE>perl Makefile.PL</CODE>¤È¼Â¹Ô¤¹¤ë¤È¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤¬¥¹¥¿¡¼¥È¤·¤Þ¤¹¡£
¤Ï¤¸¤á¤Ë¤É¤³¤ËmSQL¤¬¤¢¤ë¤«Åú¤¨¤Þ¤¹¡£<CODE>/usr/local/Minerva/</CODE>¤Ê¤é
¥Ç¥Õ¥©¥ë¥È¤Î¤Þ¤Þ¤Ç¤è¤¤¤Ç¤¹¡£
<P>¤½¤·¤Æ<CODE>make test</CODE>¤È¤·¤Þ¤¹¡£¤³¤ÎÁ°¤Ë<CODE>test</CODE>¤È¤¤¤¦¥Ç¡¼¥¿¥Ù¡¼¥¹
¤¬¤¢¤ë¤³¤È¤ò³Îǧ¤·¤Æ¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤òÆɤ߽ñ¤­²Äǽ¤Ë¤·¤Æ²¼¤µ¤¤¡£
<PRE>
        # msqladmin create test
</PRE>

¤È¼Â¹Ô¤·¤Þ¤¹¡£
<P>
<P>
<H2><A NAME="ss3.11">3.11 perl¤ÎCGI¥é¥¤¥Ö¥é¥ê</A>
</H2>

<P>perl¤ÎCGI¥Ñ¡¼¥È¤Ï£³¤Ä¤Î¥·¥ó¥×¥ë¤ÊÃʳ¬¤Ë¤ï¤«¤ì¤Æ¤¤¤Þ¤¹¡£°Ê²¼¤Î¥³¥Þ¥ó¥É¤ò
¼Â¹Ô¤·¤Æ²¼¤µ¤¤¡£
<PRE>
        # perl Makefile.PL
        # make 
        # make install
</PRE>

Á°¤Î¥É¥é¥¤¥Ð¤È°ã¤¤¡¢¤³¤Î¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤Ï¥Æ¥¹¥È¥ª¥×¥·¥ç¥ó
(<CODE># make test</CODE>)¤ò»ý¤Ã¤Æ¤¤¤Þ¤»¤ó¡£¤È¤³¤í¤¬Â¾¤Î¥â¥¸¥å¡¼¥ë¤Ï 
Ǥ°Õ¤Î¥±¡¼¥¹¤Ç¥Æ¥¹¥È¤µ¤ì¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
<P>CGI¤Î¥µ¥ó¥×¥ë¥¹¥¯¥ê¥×¥È¤¬¤¢¤ë¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤¬¤³¤ì¤Çºî¤é¤ì¤Þ¤¹¡£
¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ÎÃæ¿È¤ò<CODE>/home/http/cgi-bin/</CODE>¤Ë¥³¥Ô¡¼¤·¤Æ
¥¹¥¯¥ê¥×¥È¤Î¥Æ¥¹¥È¤Î¤¿¤á¤Ë¥Ö¥é¥¦¥¶¤òµ¯Æ°¤·¤Æ¤ß¤Æ²¼¤µ¤¤¡£
<P>
<P>
<H2><A NAME="ss3.12">3.12 ¥Á¥§¥Ã¥¯¥ê¥¹¥È¤Î¥¤¥ó¥¹¥È¡¼¥ë</A>
</H2>

<P>°Ê²¼¤Î½ç¤Ëºî¶È¤ò¿Ê¤á¤Þ¤¹¡£
<OL>
<LI>Linux¤ò¥Í¥Ã¥È¥ï¡¼¥¯¥µ¥Ý¡¼¥È¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë</LI>
<LI>http¥µ¡¼¥Ð¤Î¥¤¥ó¥¹¥È¡¼¥ë(Apache¤Ê¤É)</LI>
<LI>¥Ö¥é¥¦¥¶¤Î¥¤¥ó¥¹¥È¡¼¥ë(Arena, lynx, Netscape¤Ê¤É)</LI>
<LI>SQL¥µ¡¼¥Ð¤Î¥¤¥ó¥¹¥È¡¼¥ë(msql)</LI>
<LI>ŬÅö¤Êperl SQL¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤ò¥¤¥ó¥¹¥È¡¼¥ë</LI>
<LI>CGI¥Õ¥¡¥¤¥ë¤Î¥¤¥ó¥¹¥È¡¼¥ë</LI>
</OL>

ºÇ¸å¤Ë¥¯¥ê¡¼¥ó¥¢¥Ã¥×¤ò¹Ô¤¤¤Þ¤¹¡£¥Ð¥¤¥Ê¥ê¤ä¥É¥­¥å¥á¥ó¥È¤Ï°Û¤Ê¤ë¥Ç¥£¥ì¥¯¥È¥ê
¤Ë¤¢¤ë¤Î¤Çmsql¤Î¥½¡¼¥¹¥Ä¥ê¡¼¤äperl¥â¥¸¥å¡¼¥ë¤Ï°ÂÁ´¤Î¤¿¤á¤Ëºï½ü¤·¤Æ¤ª¤­¤Þ¤¹
(¥¢¡¼¥«¥¤¥Ö¥Õ¥¡¥¤¥ë¤Ïºï½ü¤·¤Ê¤¯¤Æ¤è¤¤¤Ç¤¹)¡£
<P>
<P>
<HR>
<A HREF="WWW-mSQL-HOWTO-4.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="WWW-mSQL-HOWTO-2.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="WWW-mSQL-HOWTO.html#toc3">Ìܼ¡¤Ø</A>
</BODY>
</HTML>