here you go ...
var ds = {
username : "",
password : "",
databasename : this.hostQry.ACC_DATABASE,
drivername : "org.gjt.mm.mysql.Driver",
hoststring :
"jdbc:mysql://#this.hostQry.ACC_DATAHOST#/#this.hostQry.ACC_DATABASE#?useUnicode=true&characterEncoding=UTF-8"
};
DataSourceCreate( application.datasource, ds );
On 14/02/2012 12:32, tbear2001 wrote:
I have an existing (large) openbd app that I want to test deploy to
jelastic. I'd like to dynamically create the datasource at server
start time... would someone please give me an example of a
Datasourcecreate call that would connect me to a MySQL instance?
Thanks.
--
online documentation: http://openbd.org/manual/
google+ hints/tips: https://plus.google.com/115990347459711259462
http://groups.google.com/group/openbd?hl=en
Join us @ http://www.OpenCFsummit.org/ Dallas, Feb 2012