ColdFusion can connect to a variety of data sources, including the following, among others:
In this example, we will discuss how to connect to a Microsoft Access database. While you should not use Access in a production environment because it is not a relational database server, it is sufficient for this tutorial. You can connect to Access databases the same way as any other relational database: by creating a connection in the ColdFusion Administrator.
Launch the ColdFusion Administrator (when browsing on the local machine) by placing the following URL in your browser: http://localhost/cfide/administrator/index.cfm.
Note: If you are browsing from another machine, replace "localhost" in the URL with the server name of the machine where ColdFusion Server is running. Also, if you are using the embedded web server that ships with ColdFusion, you should append a :8500 port number to the end of "localhost" or the server name.
The ColdFusion Administrator has a menu grouping for Data & Services on the main, left menu. There are several types of connections you can make to a relational database: JDBC, ODBC, OLE DB, and Native. This article focuses on connecting to JDBC databases.
Because ColdFusion runs on top of a Java server, the connections to data sources are created using JDBC—an industry standard for connecting to many different data sources from Java-based applications. Using a JDBC connection, ColdFusion can send SQL statements to the database, and receive result sets from it (see Figure 3).

Figure 2. Open database connectivity
When you choose Datasources from the ColdFusion Administrator, you can add a data connection to any data source:
Click Datasources under Data & Services in the main menu. This opens the Data Sources page. Assign a name to the data source and choose the database type to connect to—in this case, Microsoft Access (see Figure 4).

Figure 3. Choosing ODBC data sources
You will see a set of connection parameters for the Microsoft Access data source you are creating (see Figure 5).

Figure 4. Connection parameters for a Microsoft Access data source
To keep things simple, set the following options:
If you cannot connect to your data source successfully, refer to the ColdFusion Support Center: Database troubleshooting page.