View comments | RSS feed

Connecting to ODBC Socket

Use the settings in the following table to connect ColdFusion to ODBC Socket data sources:
Setting
Description
CF Data Source Name
The data source name (DSN) used by ColdFusion to connect to the data source.
ODBC DSN
Select the ODBC DSN to which you want ColdFusion to connect.
Description
(Optional) A description for this connection.
Username
The user name that ColdFusion passes to the JDBC driver to connect to the data source if a ColdFusion application does not supply a user name-for example, in a cfquery tag.
Password
The password that ColdFusion passes to the JDBC driver to connect to the data source if a ColdFusion application does not supply a password-for example, in a cfquery tag.
Connection String
A field that passes database-specific parameters, such as login credentials, to the data source.
Maintain Connections
ColdFusion establishes a connection to a data source for every operation that requires one. Enable this option to improve performance by caching the data source connection.
Timeout (min)
The maximum number of minutes after the data source connection is made that you want ColdFusion to cache a connection after it is used.
Interval (sec)
The time (in seconds) that the server waits between cycles to check for expired data source connections to close.
Disable Connections
If selected, suspends all client connections.
Login Timeout (sec)
The number of seconds before ColdFusion times out the data source connection login attempt.
CLOB
Select to return the entire contents of any CLOB/Text columns in the database for this data source. If unchecked, ColdFusion retrieves the amount specified in the Long Text Buffer setting.
BLOB
Select to return the entire contents of any BLOB/Image columns in the database for this data source. If unchecked, ColdFusion retrieves the amount specified in the Blob Buffer setting.
LongText Buffer (chr)
The default buffer size, used if Enable Long Text Retrieval(CLOB) is not selected. Default is 65000 bytes.
BLOB Buffer (bytes)
The default buffer size, used if Enablebinary large object retrieval (BLOB) is not selected. Default is 65000 bytes.
Allowed SQL
The SQL operations that can interact with the current data source.

ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting

Version 6

Comments are no longer accepted for ColdFusion MX. ColdFusion 8 is the current version.

Comments


A_G_P said on Mar 7, 2005 at 10:24 PM :
when i tried to create a DSN using ODBC Socket, i got the following error.

Connection verification failed for data source:
[]java.sql.SQLException: Timed out trying to establish connection
The root cause was that: java.sql.SQLException: Timed out trying to establish connection

what could be the problem?
jrunrandy said on Mar 11, 2005 at 3:26 AM :
The SQL Server page in the CFMX 7 docs has connection troubleshooting information:

http://livedocs.macromedia.com/coldfusion/7/htmldocs/00001743.htm

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/6/Administering_ColdFusion_MX/datasources_ADV_MJS10.htm