1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
5
>Build and install the mysql driver</TITLE
8
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
10
TITLE="mysql driver manual"
11
HREF="index.html"><LINK
19
TITLE="Driver options"
20
HREF="c90.html"></HEAD
31
SUMMARY="Header navigation table"
40
>mysql driver manual: A libdbi driver providing connectivity to MySQL databases using libmysqlclient.</TH
56
>Chapter 2. Installation</TD
77
>2.2. Build and install the mysql driver</A
80
>First you have to unpack the libdbi-drivers archive in a suitable directory. Unpacking will create a new subdirectory <TT
82
>libdbi-drivers-X.Y</TT
83
> where "X.Y" denotes the version:</P
99
>tar -xzf libdbi-drivers-0.3.tar.gz</KBD
106
>The libdbi-drivers project consists of several drivers that use a common build system. Therefore you <EM
108
> tell configure explicitly that you want to build the mysql driver (you can list as many drivers as you want to build):</P
124
>cd libdbi-drivers</KBD
145
>./configure --with-mysql</KBD
154
>./configure --help</B
155
> to find out about additional options.</P
157
>Then build the driver with the command:</P
186
>Please note that you may have to invoke <B
189
>, the GNU version of make, on some systems.</P
193
>Then install the driver with the command (you'll need root permissions to do this):</P
216
>To test the operation of the newly installed driver, use the command:</P
239
>This command creates and runs a test program that performs a few basic input and output tests. The program will ask for an administrator username and password. This user can be any user who has database creation priveleges. Be sure to provide the name of a database which does not already exist (avoid 'test' which is used on many systems).</P
247
>If for some reason you need to re-create the autoconf/automake-related files, try running <B
250
>. I've found out that the current stable autoconf/automake/libtool versions (as found in FreeBSD 4.7 and Debian 3.0) do not cooperate well, so I found it necessary to run the older autoconf 2.13. If necessary, edit <TT
253
> so that it will catch the older autoconf version on your system.</P
262
SUMMARY="Footer navigation table"
b'\\ No newline at end of file'