1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
8
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
10
TITLE="mysql driver manual"
11
HREF="index.html"><LINK
13
TITLE="Build and install the mysql driver"
16
TITLE="Peculiarities you should know about"
17
HREF="c128.html"></HEAD
28
SUMMARY="Header navigation table"
37
>mysql driver manual: A libdbi driver providing connectivity to MySQL databases using libmysqlclient.</TH
74
>Chapter 3. Driver options</H1
76
>Your application has to initialize libdbi drivers by setting some driver options with the <CODE
78
>dbi_conn_set_option()</CODE
81
>dbi_conn_set_option_numeric()</CODE
82
> library functions. The mysql driver supports the following options:</P
92
>The hostname or IP address of the MySQL database server. Use an empty string or "localhost" to connect to a MySQL server running on the local machine.</P
98
>The port used to remotely connect to the MySQL database server over TCP. Use "0" (zero) to accept the default socket.</P
104
>The name of the user accessing the database.</P
110
>The password of the user accessing the database.</P
116
>The name of the database used for the initial connection.</P
119
>mysql_include_trailing_null (numeric)</DT
122
>This item will tell the driver whether or not to include trailing null values ('\0') at the end of binary strings. This applies to the types BLOB, MEDIUMBLOB, LARGEBLOB etc. A numeric value of 0 will tell the driver to leave off the NULL value. A value of 1 will tell the driver to include the trailing NULL character. </P
125
>mysql_unix_socket</DT
128
>The filename of the Unix socket used to connect to a MySQL database server running on the local machine. Provide an empty string to use the default socket.</P
131
>mysql_compression (numeric)</DT
134
>A value larger than zero causes the client/server communication to be compressed. Set this to zero to use no data compression.</P
144
SUMMARY="Footer navigation table"
183
>Build and install the mysql driver</TD
193
>Peculiarities you should know about</TD
b'\\ No newline at end of file'