I have developed an application with CF8 and MySQL 5. Some of the data fields 
are encrypted using the MySQL AES_ENCRYPT function for INSERT and UPDATE and 
the AES_DECRYPT function for SELECT. 

Queries (and dumps) all run fine with either SQL statements alone or with cfc 
and cfm scripts in CF8.  With CF9 however, the encrypted fields are returned as 
binary via cfdump even though the SQL statements themselves all run fine using 
Navicat for MySQL. I can overcome this by recoding he relevant cfm using 
CharsetEncode(datafield, "utf-8") but this results in an error when used with 
CF8. Any thoughts or suggestions would be greatly appreciated.

I have tried this as well:

http://www.compoundtheory.com/?action=displayPost&ID=421 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/sql/message.cfm/messageid:3349
Subscription: http://www.houseoffusion.com/groups/sql/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/sql/unsubscribe.cfm

Reply via email to