Posted in
ColdFusion
| Posted on 06-02-2007
| 3,899 views
This will be a short post - but I just wanted to make sure folks saw the new support for MySQL 4 and 5 in the ColdFusion Administrator.
Finally! Now you don't need to download the Jar and set up a custom DSN everytime you want to connect to a MySQL database.
Download attached file
This is the JDBC URL which is created by default: "jdbc:mysql://localhost:3306/mydatabase?"
It must be like "jdbc:mysql://localhost:3306/mydatabase??useUnicode=true&characterEncoding=UTF-8 "
You can find detailed instructions MySQL installation as manual on page: http://howtoforge.com/coldfusion7_mysql4.1_connect...
Not true. Just create a datasource with the new driver marked MySQL 4/5 and then add the options useUnicode=true&characterEncoding=UTF-8 to the Connection String field. The options automatically get appended to the JDBC URL.
Rob
Thanks
Rob
[Add Comment] [Subscribe to Comments]