home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-perl-addon-1.4.9-installer.exe / INSTALL.pod < prev    next >
Encoding:
Text File  |  2003-06-30  |  20.7 KB  |  752 lines

  1. =head1 NAME
  2.  
  3. INSTALL - How to install and configure DBD::mysql
  4.  
  5.  
  6. =head1 SYNOPSIS
  7.  
  8.   perl Makefile.PL [options]
  9.   make
  10.   make test
  11.   make install
  12.  
  13.  
  14. =head1 DESCRIPTION
  15.  
  16. This document describes the installation and configuration of
  17. DBD::mysql, the Perl DBI driver for the MySQL database. Before
  18. reading on, make sure that you have the prerequisites available:
  19. Perl, MySQL and DBI. For details see the separate section.
  20. L</PREREQUISITES>.
  21.  
  22. Depending on your version of Perl, it might be possible to
  23. use a binary distribution of DBD::mysql. If possible, this is
  24. recommended. Otherwise you need to install from the sources.
  25. If so, you will definitely need a C compiler. Installation
  26. from binaries and sources are both described in separate
  27. sections. L<BINARY INSTALLATION>. L<SOURCE INSTALLATION>.
  28.  
  29. Finally, if you encounter any problems, do not forget to
  30. read the section on known problems. L<KNOWN PROBLEMS>. If
  31. that doesn't help, you should look into the archive of the
  32. mailing list B<msql-mysql-modules@lists.mysql.com>. See
  33. http://www.mysql.com for archive locations. And if that
  34. still doesn't help, please post a question on this mailing
  35. list.
  36.  
  37.  
  38. =head1 PREREQUISITES
  39.  
  40. =over
  41.  
  42. =item Perl
  43.  
  44. Preferrably a version of Perl, that comes preconfigured with
  45. your system. For example, all Linux and FreeBSD distributions
  46. come with Perl. For Windows, ActivePerl is recommended, see
  47. http://www.activestate.com for details.
  48.  
  49. =item MySQL
  50.  
  51. You need not install the actual MySQL database server, the
  52. client files and the devlopment files are sufficient. For
  53. example, the Red Hat Linux distribution comes with RPM files
  54. B<mysql-client> and B<mysql-devel>. These are sufficient,
  55. if the MySQL server is located on a foreign machine. You may
  56. also create client files by compiling from the MySQL source
  57. distribution and using
  58.  
  59.   configure --without-server
  60.  
  61. If you are using Windows and need to compile from sources
  62. (which is only the case if you are not using ActivePerl),
  63. then you must ensure that the header and library files are
  64. installed. This may require choosing a "Custom installation"
  65. and selecting the appropriate option when running the
  66. MySQL setup program.
  67.  
  68. =item DBI
  69.  
  70. DBD::mysql is a DBI driver, hence you need DBI. It is available
  71. from the same source where you got the DBD::mysql distribution
  72. from.
  73.  
  74. =item C compiler
  75.  
  76. A C compiler is only required, if you install from source. In
  77. most cases there are binary distributions of DBD::mysql
  78. available. However, if you need a C compiler, make sure, that
  79. it is the same C compiler that was used for compiling Perl and
  80. MySQL! Otherwise you will almost definitely encounter problems
  81. because of differences in the underlying C runtime libraries.
  82.  
  83. In the worst case, this might mean to compile Perl and MySQL
  84. yourself. But believe me, experience shows that a lot of problems
  85. are fixed this way.
  86.  
  87. =item Gzip libraries
  88.  
  89. Late versions of MySQL come with support for compression. Thus
  90. it B<may> be required that you have install an RPM package like
  91. libz-devel, libgz-devel or something similar.
  92.  
  93. =back
  94.  
  95.  
  96. =head1 BINARY INSTALLATION
  97.  
  98. Binary installation is possible in the most cases, depending
  99. on your system. I give some examples:
  100.  
  101.  
  102. =head2 Windows
  103.  
  104. ActivePerl offers a PPM archive of DBD::mysql. All you need to
  105. do is typing
  106.  
  107.   ppm
  108.   install DBI
  109.   install DBD-mysql
  110.  
  111. This will fetch the modules via HTTP and install them. If you
  112. need to use a WWW proxy server, the environment variable
  113. HTTP_proxy must be set:
  114.  
  115.   set HTTP_proxy=http://my.proxy.server:8000/
  116.   ppm
  117.   install DBI
  118.   install DBD-mysql
  119.  
  120. Of course you need to replace the host name C<my.proxy.server>
  121. and the port number C<8000> with your local values.
  122.  
  123. If the above procedure doesn't work, please upgrade to the latest
  124. version of ActivePerl. Versions before build 623 are known to
  125. have problems.
  126.  
  127. PPM 3 is said to miss DBD::mysql in the repository. Thus use of
  128. PPM 3 is discouraged, in favour of PPM 2. If you need to use
  129. PPM 3, try
  130.  
  131.   ppm
  132.   rep add PPM2 http://ppm.activestate.com/PPMPackages/5.6plus/
  133.   rep 2
  134.   install DBI
  135.   install DBD-mysql
  136.  
  137.  
  138.  
  139. =head2 Red Hat Linux
  140.  
  141. As of version 7.1, Red Hat Linux comes with MySQL and DBD::mysql.
  142. You need to ensure that the following RPM's are installed:
  143.  
  144.   mysql
  145.   perl-DBI
  146.   perl-DBD-MySQL
  147.  
  148. For installation from source the following RPM's are required
  149.  
  150.   mysql-devel
  151.   libz-devel
  152.  
  153. Optional are
  154.  
  155.   mysql-server
  156.  
  157.  
  158. =head2 Other systems
  159.  
  160. In the case of Linux or FreeBSD distributions it is very likely
  161. that all you need comes with your distribution, as in the case
  162. of Red Hat Linux. I just cannot give you names, as I am not using
  163. these systems.
  164.  
  165. Please let me know if you find the files in your SuSE Linux, Debian
  166. Linux or FreeBSD distribution so that I can extend the above list.
  167.  
  168.  
  169. =head1 SOURCE INSTALLATION
  170.  
  171. So you need to install from sources. If you are lucky, the Perl
  172. module C<CPAN> will do all for you, thanks to the excellent work
  173. of Andreas Koenig. Otherwise you will need to do a manual
  174. installation. Some of you, in particular system administrators
  175. of multiple sites, will choose automatic installation. All of
  176. these installation types have an own section. L</CPAN installation>.
  177. L</Manual installation>. L</Configuration>.
  178.  
  179.  
  180. =head2 CPAN installation
  181.  
  182. Installation of DBD::mysql can be incredibly easy:
  183.  
  184.   cpan
  185.   install DBD::mysql
  186.  
  187. If you are using the CPAN module for the first time, just answer
  188. the questions by accepting the defaults which are fine in most
  189. cases. If you are using an older version of Perl, you might
  190. instead need a
  191.  
  192.   perl -MCPAN -e shell
  193.   install DBD::mysql
  194.  
  195. If you cannot get the CPAN module working, you might try manual
  196. installation. If installation with CPAN fails because the your
  197. local settings have been guessed wrong, you might try to
  198. create a script called C<mysql_config>. This is described in
  199. more details later. L</Configuration>.
  200.  
  201.  
  202. =head2 Manual installation
  203.  
  204. For a manual installation you need to fetch the DBD::mysql
  205. source distribution. The latest version is always available
  206. from
  207.  
  208.   http://www.cpan.org/modules/by-module/DBD/
  209.  
  210. The name is typically something like
  211.  
  212.   DBD-mysql-1.2216.tar.gz
  213.  
  214. The archive needs to be extracted. On Windows you may use a tool
  215. like WinZip, on Unix you type
  216.  
  217.   gzip -cd DBD-mysql-1.2216.tar.gz | tar xf -
  218.  
  219. This will create a subdirectory DBD-mysql-1.2216. Enter this
  220. subdirectory and type
  221.  
  222.   perl Makefile.PL
  223.   make
  224.   make test
  225.  
  226. (On Windows you may need to replace "make" with "nmake" or
  227. "dmake".) If the tests seem to look fine, you may continue with
  228.  
  229.   make install
  230.  
  231. If the tests fail, you might need to configure some settings.
  232. For example you might choose a different database, the C
  233. compiler or the linker might need some flags. L</Configuration>.
  234. L</C Compiler flags>. L</Linker flags>.
  235.  
  236. For Windows/CygWin there is a special section below.
  237. L<Windows/CygWin>.
  238.  
  239.  
  240. =head2 Configuration
  241.  
  242. The install script "Makefile.PL" can be configured via a lot of
  243. switches. All switches can be used on the command line. For
  244. example, the test database:
  245.  
  246.   perl Makefile.PL --testdb=<db>
  247.  
  248. If you do not like configuring these switches on the command
  249. line, you may alternatively create a script called C<mysql_config>.
  250. This is described later on.
  251.  
  252. Available switches are:
  253.  
  254. =over
  255.  
  256. =item testdb
  257.  
  258. Name of the test database, defaults to B<test>.
  259.  
  260. =item testuser
  261.  
  262. Name of the test user, defaults to empty. If the name is empty,
  263. then the currently logged in users name will be used.
  264.  
  265. =item testpassword
  266.  
  267. Password of the test user, defaults to empty.
  268.  
  269. =item testhost
  270.  
  271. Host name or IP number of the test database; defaults to localhost.
  272.  
  273. =item testport
  274.  
  275. Port number of the test database
  276.  
  277. =item cflags
  278.  
  279. This is a list of flags that you want to give to the C compiler.
  280. The most important flag is the location of the MySQL header files.
  281. For example, on Red Hat Linux the header files are in /usr/include/mysql
  282. and you might try
  283.  
  284.   -I/usr/include/mysql
  285.  
  286. On Windows the header files may be in C:\mysql\include and you might try
  287.  
  288.   -IC:\mysql\include
  289.  
  290. The default flags are determined by running
  291.  
  292.   mysql_config --cflags
  293.  
  294. More details on the C compiler flags can be found in the following
  295. section. L</C Compiler flags>.
  296.  
  297. =item libs
  298.  
  299. This is a list of flags that you want to give to the linker
  300. or loader. The most important flags are the locations and names
  301. of additional libraries. For example, on Red Hat Linux your
  302. MySQL client libraries are in /usr/lib/mysql and you might try
  303.  
  304.   -L/usr/lib/mysql -lmysqlclient -lz
  305.  
  306. On Windows the libraries may be in C:\mysql\lib and
  307.  
  308.   -LC:\mysql\lib -lmysqlclient
  309.  
  310. might be a good choice. The default flags are determined by running
  311.  
  312.   mysql_config --libs
  313.  
  314. More details on the linker flags can be found in a separate section.
  315. L<Linker flags>.
  316.  
  317. =back
  318.  
  319. If a switch is not present on the command line, then the
  320. script C<mysql_config> will be executed. This script comes
  321. as part of the MySQL distribution. For example, to determine
  322. the C compiler flags, we are executing
  323.  
  324.   mysql_config --cflags
  325.   mysql_config --libs
  326.  
  327. If you want to configure your own settings for database name,
  328. database user and so on, then you have to create a script with
  329. the same name, that replies
  330.  
  331.  
  332. =head2 C Compiler flags
  333.  
  334. It is typically not so difficult to determine the appropriate
  335. flags for the C compiler. The linker flags, which you find in
  336. the next section, are another story.
  337.  
  338. The determination of the C compiler flags is usually left to
  339. a configuration script called F<mysql_config>, which can be
  340. invoked with
  341.  
  342.   mysql_config --cflags
  343.  
  344. When doing so, it will emit a line with suggested C compiler
  345. flags, for example like this:
  346.  
  347.   -L/usr/include/mysql
  348.  
  349. The C compiler must find some header files. Header files have
  350. the extension C<.h>. MySQL header files are, for example,
  351. F<mysql.h> and F<mysql_version.h>. In most cases the header
  352. files are not installed by default. For example, on Windows
  353. it is an installation option of the MySQL setup program
  354. (Custom installation), whether the header files are installed
  355. or not. On Red Hat Linux, you need to install an RPM archive
  356. F<mysql-devel> or F<MySQL-devel>.
  357.  
  358. If you know the location of the header files, then you will
  359. need to add an option
  360.  
  361.   -L<header directory>
  362.  
  363. to the C compiler flags, for example C<-L/usr/include/mysql>.
  364.  
  365.  
  366. =head2 Linker flags
  367.  
  368. Appropriate linker flags are the most common source of problems
  369. while installing DBD::mysql. I will only give a rough overview,
  370. you'll find more details in the troubleshooting section.
  371. L<KNOWN PROBLEMS>
  372.  
  373. The determination of the C compiler flags is usually left to
  374. a configuration script called F<mysql_config>, which can be
  375. invoked with
  376.  
  377.   mysql_config --libs
  378.  
  379. When doing so, it will emit a line with suggested C compiler
  380. flags, for example like this:
  381.  
  382.    -L'/usr/lib/mysql' -lmysqlclient -lnsl -lm   -lz -lcrypt
  383.  
  384. The following items typically need to be configured for the
  385. linker:
  386.  
  387. =over
  388.  
  389. =item The mysqlclient library
  390.  
  391. The MySQL client library comes as part of the MySQL distribution.
  392. Depending on your system it may be a file called
  393.  
  394.   F<libmysqlclient.a>   statically linked library, Unix
  395.   F<libmysqlclient.so>  dynamically linked library, Unix
  396.   F<mysqlclient.lib>    statically linked library, Windows
  397.   F<mysqlclient.dll>    dynamically linked library, Windows
  398.  
  399. or something similar.
  400.  
  401. As in the case of the header files, the client library is typically
  402. not installed by default. On Windows you will need to select them
  403. while running the MySQL setup program (Custom installation). On
  404. Red Hat Linux an RPM archive F<mysql-devel> or F<MySQL-devel> must
  405. be installed.
  406.  
  407. The linker needs to know the location and name of the mysqlclient
  408. library. This can be done by adding the flags
  409.  
  410.   -L<lib directory> -lmysqlclient
  411.  
  412. or by adding the complete path name. Examples:
  413.  
  414.   -L/usr/lib/mysql -lmysqlclient
  415.   -LC:\mysql\lib -lmysqlclient
  416.  
  417.   /usr/lib/mysql/libmysqlclient.a
  418.   C:\mysql\lib\mysqlclient.lib
  419.  
  420. The latter examples are using a statically linked library. This
  421. may be required in some cases, if the dynamically linked library
  422. is not found at run time.
  423.  
  424. =item The gzip library
  425.  
  426. The MySQL client can use compression when talking to the MySQL
  427. server, a nice feature when sending or receiving large texts over
  428. a slow network.
  429.  
  430. On Unix you typically find the appropriate file name by running
  431.  
  432.   ldconfig -p | grep libz
  433.   ldconfig -p | grep libgz
  434.  
  435. Once you know the name (libz.a or libgz.a is best), just add it
  436. to the list of linker flags. If this seems to be causing problem
  437. you may also try to link without gzip libraries.
  438.  
  439. =back
  440.  
  441.  
  442. =head1 SPECIAL SYSTEMS
  443.  
  444. Below you find information on particular systems:
  445.  
  446.  
  447. =head2 Windows/CygWin
  448.  
  449. If you are a user of Cygwin (the Redhat distribution) you already
  450. know, it contains a nicely running perl 5.6.1, installation of
  451. additional modules usually works as a charme via the standard
  452. procedure of
  453.  
  454.     perl makefile.PL
  455.     make
  456.     make test
  457.     make install
  458.  
  459. The Windows binary distribution of MySQL runs smoothly under Cygwin.
  460. You can start/stop the server and use all Windows clients without problem.
  461. But to install DBD::mysql you have to take a little special action.
  462.  
  463. Don't attempt to build DBD::mysql against either the MySQL Windows or
  464. Linux/Unix BINARY distributions: neither will work!
  465.  
  466. You MUST compile the MySQL clients yourself under Cygwin, to get a
  467. 'libmysqlclient.a' compiled under Cygwin. Really! You'll only need
  468. that library and the header files, you don't need any other client parts.
  469. Continue to use the Windows binaries. And don't attempt (currently) to
  470. build the MySQL Server part, it is unneccessary, as MySQL AB does an
  471. excellent job to deliver optimized binaries for the mainstream
  472. operating systems, and it is told, that the server compiled under Cygwin is
  473. unstable.
  474.  
  475. Install MySQL (if you havn't already)
  476.  
  477. =over
  478.  
  479. =item -
  480.  
  481. download the MySQL Windows Binaries from
  482. http://www.mysql.com/downloads/index.html
  483.  
  484. =item -
  485.  
  486. unzip mysql-<version>-win.zip into some temporary location
  487.  
  488. =item -
  489.  
  490. start the setup.exe there and follow the instructions
  491.  
  492. =item -
  493.  
  494. start the server
  495.  
  496. =item -
  497.  
  498. alternatively download, install and start the server on a remote
  499. server, on what supported OS ever
  500.  
  501. =back
  502.  
  503.  
  504. Build MySQL clients under Cygwin:
  505.  
  506. =over
  507.  
  508. =item -
  509.  
  510. download the MySQL LINUX source from
  511. http://www.mysql.com/downloads/index.html
  512.  
  513. =item -
  514.  
  515. unpack mysql-<version>.tar.gz into some tmp location
  516.  
  517. =item -
  518.  
  519. cd into the unpacked dir mysql-<version>
  520.  
  521.   ./configure --prefix=/usr/local/mysql --without-server
  522.  
  523. This prepares the Makefile with the installed Cygwin features. It
  524. takes some time, but should finish without error. The 'prefix', as
  525. given, installs the whole Cygwin/MySQL thingy into a location not
  526. normally in your PATH, so that you continue to use already installed
  527. Windows binaries. The --without-server parameter tells configure to
  528. only build the clients.
  529.  
  530. =item -
  531.  
  532.   make
  533.  
  534. This builds all MySQL client parts ... be patient. It should finish
  535. finally without any error.
  536.  
  537. =item -
  538.  
  539.   make install
  540.  
  541. This installs the compiled client files under /usr/local/mysql/.
  542. Remember, you don't need anything except the library under
  543. /usr/local/mysql/lib and the headers under /usr/local/mysql/include!
  544.  
  545. Essentially you are now done with this part. If you want, you may try
  546. your compiled binaries shortly; for that, do:
  547.  
  548. =item -
  549.  
  550.   cd /usr/local/mysql/bin
  551.   ./mysql -h 127.0.0.1
  552.  
  553. The host (-h) parameter 127.0.0.1 targets the local host, but forces
  554. the mysql client to use a TCP/IP connection. The default would be a
  555. pipe/socket connection (even if you say '-h localhost') and this
  556. doesn't work between Cygwin and Windows (as far as I know).
  557.  
  558. If you have your MySQL server running on some other box, then please
  559. substitute '127.0.0.1' with the name or IP-number of that box.
  560.  
  561. =back
  562.  
  563. Please note, in my environment the 'mysql' client did not accept a
  564. simple RETURN, I had to use CTRL-RETURN to send commands
  565. ... strange,
  566. but I didn't attempt to fix that, as we are only interested in the
  567. built lib and headers.
  568.  
  569. At the 'mysql>' prompt do a quick check:
  570.  
  571.   mysql> use mysql
  572.   mysql> show tables;
  573.   mysql> select * from db;
  574.   mysql> exit
  575.  
  576. You are now ready to build DBD::mysql!
  577.  
  578.  
  579. Build DBD::mysql:
  580.  
  581. =over
  582.  
  583. =item -
  584.  
  585. download DBD-mysql-<version>.tar.gz from CPAN
  586.  
  587. =item -
  588.  
  589. unpack DBD-mysql-<version>.tar.gz
  590.  
  591. =item -
  592.  
  593. cd into unpacked dir DBD-mysql-<version>
  594. you probably did that already, if you are reading this!
  595.  
  596. =item -
  597.  
  598.   cp /usr/local/mysql/bin/mysql_config .
  599.  
  600. This copies the executable script mentioned in the DBD::mysql docs
  601. from your just built Cywin/MySQL client directory; it knows about
  602. your Cygwin installation, especially about the right libraries to link
  603. with.
  604.  
  605. =item -
  606.  
  607.   perl Makefile.PL --testhost=127.0.0.1
  608.  
  609. The --testhost=127.0.0.1 parameter again forces a TCP/IP connection
  610. to the MySQL server on the local host instead of a pipe/socket
  611. connection for the 'make test' phase.
  612.  
  613. =item -
  614.  
  615.   make
  616.  
  617. This should run without error
  618.  
  619. =item -
  620.  
  621.   make test
  622.  
  623. with DBD-mysql-2.1022 or earlier you will see several errors in
  624. dbdadmin.t, mysql.t and mysql2.t; with later versions you should not
  625. get errors (except possibly one, indicating, that some tables could
  626. not be dropped. I'm hunting for a solution to that problem, but have
  627. none yet).
  628.  
  629. =item -
  630.  
  631.   make install
  632.  
  633. This installs DBD::mysql into the Perl hierarchy.
  634.  
  635. =back
  636.  
  637. Notes:
  638.  
  639. This was tested with MySQL version 3.23.54a and DBD::mysql version
  640. 2.1022. I patched the above mentioned test scripts and sent the
  641. patches
  642. to the author of DBD::mysql Jochen Wiedman.
  643.  
  644. Georg Rehfeld          15. Jan. 2003
  645.  
  646.  
  647. =head1 KNOWN PROBLEMS
  648.  
  649. =over
  650.  
  651. =item 1.)
  652.  
  653. Some Linux distributions don't come with a gzip library by default.
  654. Running "make" terminates with an error message like
  655.  
  656.   LD_RUN_PATH="/usr/lib/mysql:/lib:/usr/lib" gcc
  657.     -o blib/arch/auto/DBD/mysql/mysql.so  -shared
  658.     -L/usr/local/lib dbdimp.o mysql.o -L/usr/lib/mysql
  659.     -lmysqlclient -lm -L/usr/lib/gcc-lib/i386-redhat-linux/2.96
  660.     -lgcc -lz
  661.   /usr/bin/ld: cannot find -lz
  662.   collect2: ld returned 1 exit status
  663.   make: *** [blib/arch/auto/DBD/mysql/mysql.so] Error 1
  664.  
  665. If this is the case for you, install an RPM archive like
  666. libz-devel, libgz-devel, zlib-devel or gzlib-devel or something
  667. similar.
  668.  
  669. =item 2.)
  670.  
  671. If Perl was compiled with gcc or egcs, but MySQL was compiled
  672. with another compiler or on another system, an error message like
  673. this is very likely when running "Make test":
  674.  
  675.   t/00base............install_driver(mysql) failed: Can't load
  676.   '../blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql:
  677.   ../blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: _umoddi3
  678.   at /usr/local/perl-5.005/lib/5.005/i586-linux-thread/DynaLoader.pm
  679.   line 168.
  680.  
  681. This means, that your linker doesn't include libgcc.a. You have
  682. the following options:
  683.  
  684. The solution is telling the linker to use libgcc. Run
  685.  
  686.   gcc --print-libgcc-file
  687.  
  688. to determine the exact location of libgcc.a or for older versions
  689. of gcc
  690.  
  691.   gcc -v
  692.  
  693. to determine the directory. If you know the directory, add a
  694.  
  695.   -L<directory> -lgcc
  696.  
  697. to the list of C compiler flags. L</Configuration>. L</Linker flags>.
  698.  
  699. =item 3.)
  700.  
  701. There are known problems with shared versions of libmysqlclient,
  702. at least on some Linux boxes. If you receive an error message
  703. similar to
  704.  
  705.   install_driver(mysql) failed: Can't load
  706.   '/usr/lib/perl5/site_perl/i586-linux/auto/DBD/mysql/mysql.so'
  707.   for module DBD::mysql: File not found at
  708.   /usr/lib/perl5/i586-linux/5.00404/DynaLoader.pm line 166
  709.  
  710. then this error message can be misleading: It's not mysql.so
  711. that fails being loaded, but libmysqlclient.so! The usual
  712. problem is that this file is located in a directory like
  713.  
  714.   /usr/lib/mysql
  715.  
  716. where the linker doesn't look for it.
  717.  
  718. The best workaround is using a statically linked mysqlclient
  719. library, for example
  720.  
  721.   /usr/lib/mysql/libmysqlclient.a
  722.  
  723. You force linking against this file by replacing
  724.  
  725.   -L/usr/lib/mysql -lmysqlclient
  726.  
  727. with
  728.  
  729.   /usr/lib/mysql/libmysqlclient.a
  730.  
  731. in the list of linker flags. L</Configuration>. L</Linker flags>.
  732.  
  733. =item 4.)
  734.  
  735. Red Hat 8 & 9 set the Default locale to UTF which causes problems with 
  736. MakeMaker.  To build DBD::mysql on these systems, do a 'unset LANG' 
  737. before runing 'perl Makefile.PL'
  738.  
  739. =back
  740.  
  741.  
  742. =head1 SUPPORT
  743.  
  744. Finally, if everything else fails, you are not alone. First of
  745. all, for an immediate answer, you should look into the archives
  746. of the mailing list B<msql-mysql-modules@lists.mysql.com>. See
  747. http://www.mysql.com for archive locations.
  748.  
  749. If you don't find an appropriate posting and reply in the
  750. mailing list, please post a question. Typically a reply will
  751. be seen within one or two days.
  752.