How to use MySQL 4.1 with ColdFusion MX
This technote is for you if you need to get MySQL Server 4.1 working with CFMX 7, To connect to a MySQL 4.1 database from ColdFusion MX: - Download a current, stable version of the MySQL Connector JDBC driver, available at: http://dev.mysql.com/downloads/connector/j/ (documentation at: http://dev.mysql.com/doc/connector/j/en/index.html)
- Extract the mysql-connector-java-3.{n}-bin.jar file from the downloaded archive file.
- Save the mysql-connector-java-3.{n}-bin.jar file in the cf_root/WEB-INF/lib directory.
- Restart the ColdFusion MX server.
- Add a new data source to the ColdFusion MX Administrator, using the driver option Other.
- Enter the JDBC URL: jdbc:mysql://[host]:[port]/[database]
- Enter the Driver Class: com.mysql.jdbc.Driver
- Complete username/password, and adjust other data source settings, if needed.
- Submit the data source for verification.
More on: http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=6ef0253
Comments
There are no comments for this page as yet.
print page
