Oracle 5.0 Reference Manual page 1773

Table of Contents

Advertisement

• A System DSN is a global DSN definition that is available to any user and application on a particular
system. A System DSN can normally only be configured by a systems administrator, or by a user
who has specific permissions that let them create System DSNs.
• A User DSN is specific to an individual user, and can be used to store database connectivity
information that the user regularly uses.
• A File DSN uses a simple file to define the DSN configuration. File DSNs can be shared between
users and machines and are therefore more practical when installing or deploying DSN information
as part of an application across many machines.
DSN information is stored in different locations depending on your platform and environment.
20.1.4.2. Connector/ODBC Connection Parameters
You can specify the parameters in the following tables for Connector/ODBC when configuring a DSN:
Table 20.3, "Connector/ODBC DSN Configuration Options"
Table 20.4, "Connector/ODBC Option Flags"
Users on Windows can use the Options and Advanced panels when configuring a DSN to set these
parameters; see the table for information on which options relate to which fields and check boxes.
On Unix and Mac OS X, use the parameter name and value as the keyword/value pair in the DSN
configuration. Alternatively, you can set these parameters within the
in the
SQLDriverConnect()
Table 20.3. Connector/ODBC DSN Configuration Options
Parameter
user
uid
server
database
option
port
initstmt
password
pwd
[492]
socket
sslca
sslcapath
sslcert
sslcipher
Configuring Connector/ODBC
call.
Default Value
Comment
ODBC
The user name used to connect to MySQL.
ODBC
Synonymous with user. Added in 3.51.16.
The host name of the MySQL server.
localhost
The default database.
0
Options that specify how Connector/ODBC works. See
Table 20.4, "Connector/ODBC Option Flags"
"Recommended Connector/ODBC option Values for Different
Configurations".
3306
The TCP/IP port to use if
Initial statement. A statement to execute when connecting to
MySQL. In version 3.51 the parameter is called stmt. Note, the
driver supports the initial statement being executed only at the
time of the initial connection.
The password for the
Synonymous with password. Added in 3.51.16.
The Unix socket file or Windows named pipe to connect to if
server
The path to a file with a list of trust SSL CAs. Added in 3.51.16.
The path to a directory that contains trusted SSL CA certificates in
PEM format. Added in 3.51.16.
The name of the SSL certificate file to use for establishing a
secure connection. Added in 3.51.16.
A list of permissible ciphers to use for SSL encryption. The cipher
list has the same format as the
Added in 3.51.16.
server
account on server.
user
is localhost.
1753
InConnectionString
and
Table 20.5,
is not localhost.
command.
openssl ciphers
argument

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents