Sun
ONE Active Server Pages Product Home Page Developer Site Version
 

ContentsPreviousNextIndex



MySQL Parameters


The following table describes the MySQL 3.23 database parameters available for configuring system DSNs, as they appear on the Sun ONE ASP Administration Console New Data Source Name and Edit Data Source Name pages. For more information, see Configuring Data Source Names (DSNs).

Parameter
Explanation
DSN*
Data Source Name*
Name of the data source name (DSN) you are configuring.
Description
Description of the DSN to help distinguish it from others.
Database type*
Indicates for which type of database you are configuring this DSN (MySQL).
Driver*
On the New Data Source Name page, this is the name of the ODBC driver installed for the type of database selected in the Database type box (MySQL). This is a nonconfigurable field.
On the Edit Data Source Name page, this is the absolute path name of the ODBC driver specified for this DSN. This is a configurable field.
Server*
IP address or name of the MySQL database server. If this field is empty, the server is assumed to be running on the local computer.
Port*
Port on which the MySQL database server is configured to listen. The default is 3306.
Database*
Because there can be multiple installations of a database running on one computer, each database is given its own name. This parameter indicates the name of the database for which you are configuring this DSN.
User
Username required for accessing the database. If the username is not provided when configuring a system DSN, every connection string using this DSN must include the username.
Caution: To prevent access to a database by unauthorized users in shared Web hosting environments, it is recommended that the username and password be provided in each connection string, rather than in the system DSN.
Password
Password required for accessing the database. If the password is not provided when configuring a system DSN, every connection string using the DSN must include the password.
Caution: To prevent access to a database by unauthorized users in shared Web hosting environments, it is recommended that the username and password be provided in each connection string, rather than in the system DSN.
UseCursorLib
UseCursorLib is displayed in the Sun ONE ASP Administration Console only when you are editing an existing DSN, not adding a new one.
When this option is enabled (the check box is selected), ODBC Manager cursor support overrides ODBC driver cursor support. This enables RecordSet.Update, which is not supported in the default MyODBC driver. This parameter is enabled by default.

* Required parameters

See also:

Configuring a Database

Configuring Database Parameters



ContentsPreviousNextIndex