~ubuntu-branches/ubuntu/precise/libdbi-drivers/precise

« back to all changes in this revision

Viewing changes to drivers/mysql/dbd_mysql/c90.html

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2008-08-02 09:00:11 UTC
  • mfrom: (3.1.6 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080802090011-j05v2349u2ptvg05
Tags: 0.8.2-1-4.1
* Non-maintainer upload with maintainer's approval.
* High urgency upload for RC bugfix.
* Pass --freetds-inc-dir to configure, to bypass the ridiculous upstream
  AC_FIND_FILE() checks for files that *aren't used during the build*;
  fixes a build failure with FreeTDS 0.82.  Closes: #493349.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
 
<HTML
3
 
><HEAD
4
 
><TITLE
5
 
>Driver options</TITLE
6
 
><META
7
 
NAME="GENERATOR"
8
 
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
9
 
REL="HOME"
10
 
TITLE="mysql driver manual"
11
 
HREF="index.html"><LINK
12
 
REL="PREVIOUS"
13
 
TITLE="Build and install the mysql driver"
14
 
HREF="x53.html"><LINK
15
 
REL="NEXT"
16
 
TITLE="Peculiarities you should know about"
17
 
HREF="c128.html"></HEAD
18
 
><BODY
19
 
CLASS="CHAPTER"
20
 
BGCOLOR="#FFFFFF"
21
 
TEXT="#000000"
22
 
LINK="#0000FF"
23
 
VLINK="#840084"
24
 
ALINK="#0000FF"
25
 
><DIV
26
 
CLASS="NAVHEADER"
27
 
><TABLE
28
 
SUMMARY="Header navigation table"
29
 
WIDTH="100%"
30
 
BORDER="0"
31
 
CELLPADDING="0"
32
 
CELLSPACING="0"
33
 
><TR
34
 
><TH
35
 
COLSPAN="3"
36
 
ALIGN="center"
37
 
>mysql driver manual: A libdbi driver providing connectivity to MySQL databases using libmysqlclient.</TH
38
 
></TR
39
 
><TR
40
 
><TD
41
 
WIDTH="10%"
42
 
ALIGN="left"
43
 
VALIGN="bottom"
44
 
><A
45
 
HREF="x53.html"
46
 
ACCESSKEY="P"
47
 
>Prev</A
48
 
></TD
49
 
><TD
50
 
WIDTH="80%"
51
 
ALIGN="center"
52
 
VALIGN="bottom"
53
 
></TD
54
 
><TD
55
 
WIDTH="10%"
56
 
ALIGN="right"
57
 
VALIGN="bottom"
58
 
><A
59
 
HREF="c128.html"
60
 
ACCESSKEY="N"
61
 
>Next</A
62
 
></TD
63
 
></TR
64
 
></TABLE
65
 
><HR
66
 
ALIGN="LEFT"
67
 
WIDTH="100%"></DIV
68
 
><DIV
69
 
CLASS="CHAPTER"
70
 
><H1
71
 
><A
72
 
NAME="AEN90"
73
 
></A
74
 
>Chapter 3. Driver options</H1
75
 
><P
76
 
>Your application has to initialize libdbi drivers by setting some driver options with the <CODE
77
 
CLASS="FUNCTION"
78
 
>dbi_conn_set_option()</CODE
79
 
> and the <CODE
80
 
CLASS="FUNCTION"
81
 
>dbi_conn_set_option_numeric()</CODE
82
 
> library functions. The mysql driver supports the following options:</P
83
 
><P
84
 
></P
85
 
><DIV
86
 
CLASS="VARIABLELIST"
87
 
><DL
88
 
><DT
89
 
>host</DT
90
 
><DD
91
 
><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
93
 
></DD
94
 
><DT
95
 
>port (numeric)</DT
96
 
><DD
97
 
><P
98
 
>The port used to remotely connect to the MySQL database server over TCP. Use "0" (zero) to accept the default socket.</P
99
 
></DD
100
 
><DT
101
 
>username</DT
102
 
><DD
103
 
><P
104
 
>The name of the user accessing the database.</P
105
 
></DD
106
 
><DT
107
 
>password</DT
108
 
><DD
109
 
><P
110
 
>The password of the user accessing the database.</P
111
 
></DD
112
 
><DT
113
 
>dbname</DT
114
 
><DD
115
 
><P
116
 
>The name of the database used for the initial connection.</P
117
 
></DD
118
 
><DT
119
 
>mysql_include_trailing_null (numeric)</DT
120
 
><DD
121
 
><P
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
123
 
></DD
124
 
><DT
125
 
>mysql_unix_socket</DT
126
 
><DD
127
 
><P
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
129
 
></DD
130
 
><DT
131
 
>mysql_compression (numeric)</DT
132
 
><DD
133
 
><P
134
 
>A value larger than zero causes the client/server communication to be compressed. Set this to zero to use no data compression.</P
135
 
></DD
136
 
></DL
137
 
></DIV
138
 
></DIV
139
 
><DIV
140
 
CLASS="NAVFOOTER"
141
 
><HR
142
 
ALIGN="LEFT"
143
 
WIDTH="100%"><TABLE
144
 
SUMMARY="Footer navigation table"
145
 
WIDTH="100%"
146
 
BORDER="0"
147
 
CELLPADDING="0"
148
 
CELLSPACING="0"
149
 
><TR
150
 
><TD
151
 
WIDTH="33%"
152
 
ALIGN="left"
153
 
VALIGN="top"
154
 
><A
155
 
HREF="x53.html"
156
 
ACCESSKEY="P"
157
 
>Prev</A
158
 
></TD
159
 
><TD
160
 
WIDTH="34%"
161
 
ALIGN="center"
162
 
VALIGN="top"
163
 
><A
164
 
HREF="index.html"
165
 
ACCESSKEY="H"
166
 
>Home</A
167
 
></TD
168
 
><TD
169
 
WIDTH="33%"
170
 
ALIGN="right"
171
 
VALIGN="top"
172
 
><A
173
 
HREF="c128.html"
174
 
ACCESSKEY="N"
175
 
>Next</A
176
 
></TD
177
 
></TR
178
 
><TR
179
 
><TD
180
 
WIDTH="33%"
181
 
ALIGN="left"
182
 
VALIGN="top"
183
 
>Build and install the mysql driver</TD
184
 
><TD
185
 
WIDTH="34%"
186
 
ALIGN="center"
187
 
VALIGN="top"
188
 
>&nbsp;</TD
189
 
><TD
190
 
WIDTH="33%"
191
 
ALIGN="right"
192
 
VALIGN="top"
193
 
>Peculiarities you should know about</TD
194
 
></TR
195
 
></TABLE
196
 
></DIV
197
 
></BODY
198
 
></HTML
199
 
>
 
 
b'\\ No newline at end of file'