• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

coldfusion DSN advanced connection settings

D

dlongnecker

Guest
On the coldfusion DSN advanced connection settings, I can add one setting, but I can't add two.

This will work: zeroDateTimeBehavior=convertToNull

But if I try to add another one, seperated by a semicolon, it doesn't recognize the semicolon as the break and complains:

zeroDateTimeBehavior=convertToNull;zeroDateTimeBehavior=convertToNull;

java.sql.SQLException: The connection property 'zeroDateTimeBehavior' only accepts values of the form: 'exception', 'round' or 'convertToNull'. The value 'convertToNull; zeroDateTimeBehavior=convertToNull;' is not in this set.

Is there a way to add multiple connection strings?
 
Hello dlongnecker,

Thank you for the report.

This is known ColdFusion issue - if you will create new MySQl 4/5 DSN through ColdFusion admin's panel with the parameters "zeroDateTimeBehavior=convertToNull;characterEncoding=utf8" then you will get error described above.
The issue is actual with MySQL driver only.

Please try to use
zeroDateTimeBehavior=convertToNull&characterEncoding=utf8
instead
zeroDateTimeBehavior=convertToNull;characterEncoding=utf8.
 
Back
Top