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

« back to all changes in this revision

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

  • Committer: Stefano Rivera
  • Date: 2010-08-07 14:06:29 UTC
  • mfrom: (5.1.1 libdbi-drivers)
  • Revision ID: stefanor@ubuntu.com-20100807140629-dshfwn5j6v34pqrd
Tags: 0.8.3-1-0ubuntu1
New upstream release. -- Fixes ABORT problems with sqlite3+rrdtool

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
1
2
<HTML
2
3
><HEAD
3
4
><TITLE
4
5
>Driver options</TITLE
5
6
><META
6
7
NAME="GENERATOR"
7
 
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
8
 
"><LINK
 
8
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
9
9
REL="HOME"
10
10
TITLE="mysql driver manual"
11
11
HREF="index.html"><LINK
14
14
HREF="x56.html"><LINK
15
15
REL="NEXT"
16
16
TITLE="Peculiarities you should know about"
17
 
HREF="c136.html"></HEAD
 
17
HREF="c168.html"></HEAD
18
18
><BODY
19
19
CLASS="CHAPTER"
20
20
BGCOLOR="#FFFFFF"
56
56
ALIGN="right"
57
57
VALIGN="bottom"
58
58
><A
59
 
HREF="c136.html"
 
59
HREF="c168.html"
60
60
ACCESSKEY="N"
61
61
>Next</A
62
62
></TD
69
69
CLASS="CHAPTER"
70
70
><H1
71
71
><A
72
 
NAME="AEN93">Chapter 3. Driver options</H1
 
72
NAME="AEN93"
 
73
></A
 
74
>Chapter 3. Driver options</H1
73
75
><P
74
 
>Your application has to initialize libdbi drivers by setting some driver options with the <TT
75
 
CLASS="FUNCTION"
76
 
>dbi_conn_set_option()</TT
77
 
> and the <TT
78
 
CLASS="FUNCTION"
79
 
>dbi_conn_set_option_numeric()</TT
 
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
80
82
> library functions. The mysql driver supports the following options:</P
81
83
><P
82
84
></P
135
137
>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
136
138
></DD
137
139
><DT
138
 
>mysql_compression (numeric)</DT
 
140
>mysql_client_compress (numeric)</DT
139
141
><DD
140
142
><P
141
143
>A value larger than zero causes the client/server communication to be compressed. Set this to zero to use no data compression.</P
142
144
></DD
 
145
><DT
 
146
>mysql_client_found_rows (numeric)</DT
 
147
><DD
 
148
><P
 
149
>A value larger than zero causes the server to return the number of matched rows, not the number of affected rows.</P
 
150
></DD
 
151
><DT
 
152
>mysql_client_ignore_space (numeric)</DT
 
153
><DD
 
154
><P
 
155
>A value larger than zero causes the server to accept spaces after function names.</P
 
156
></DD
 
157
><DT
 
158
>mysql_client_interactive (numeric)</DT
 
159
><DD
 
160
><P
 
161
>A value larger than zero causes the client/server communication to use interactive_timeout instead of wait_timeout before closing an inactive connection.</P
 
162
></DD
 
163
><DT
 
164
>mysql_client_local_files (numeric)</DT
 
165
><DD
 
166
><P
 
167
>A value larger than zero enables LOAD DATA LOCAL handling.</P
 
168
></DD
 
169
><DT
 
170
>mysql_client_multi_statements (numeric)</DT
 
171
><DD
 
172
><P
 
173
>A value larger than zero causes server to accept multiple SQL statements in a single string, separated by semicolons (requires MySQL 4.1 or later).</P
 
174
></DD
 
175
><DT
 
176
>mysql_client_multi_results (numeric)</DT
 
177
><DD
 
178
><P
 
179
>A value larger than zero tells the server that the client can handle multiple result sets from multiple statements. This flag is automatically set if you use mysql_client_multi_statements (requires MySQL 4.1 or later).</P
 
180
></DD
 
181
><DT
 
182
>mysql_client_no_schema (numeric)</DT
 
183
><DD
 
184
><P
 
185
>A value larger than zero tells the server not to accept the db_name.tbl_name.col_name syntax..</P
 
186
></DD
 
187
><DT
 
188
>mysql_client_odbc (numeric)</DT
 
189
><DD
 
190
><P
 
191
>A value larger than zero causes the server to behave more ODBC-friendly.</P
 
192
></DD
143
193
></DL
144
194
></DIV
145
195
></DIV
177
227
ALIGN="right"
178
228
VALIGN="top"
179
229
><A
180
 
HREF="c136.html"
 
230
HREF="c168.html"
181
231
ACCESSKEY="N"
182
232
>Next</A
183
233
></TD