Feb 03, 2007
MySQL Driver
Posted by: John BarrettThere is a way to use ColdFusion to find out what MySQL driver you are using. Since MySQL is the main database server used on the Mac this may come in handy, well it does for me.
<cfset MySQL_remote = createObject("java","java.lang.Class").forName("com.mysql.jdbc.Driver").newInstance()>
<cfdump var="#MySQL_remote#">
<cfoutput>Your Current MySQL JDBC Driver is</cfoutput>
<cfdump var="#MySQL_remote.getMajorVersion()#">.<cfdump var="#MySQL_remote.getMinorVersion()#">
Continuing the discussion
...
Comments
Post a Comment
Search
About The Author
Links
Recent Comments
-
warhammer gold:
<
warhammer gold buy warhammer goldwarhammer go...
[View] -
warhammer gold:
<
warhammer gold buy warhammer goldwarhammer go...
[View] -
webhosting:
<
Thanks for the post
[View] -
wow power leveling:
<
World of Warcraftwow gold,wow gold,wow gold,p...
[View] -
wow gold:
<
World of Warcraftwow gold,wow gold,wow gold,p...
[View] -
免费电影:
<
免费电影 成人电影 ybnmmmudusanmm我的女孩越狱 微笑pasta 乡村爱情2 ...
[View] -
鲜花:
<
THANKS..
[View] -
jon hayes:
<
hi, yup , me too. I am a long term CF dev (8...
[View] -
Randolph:
<
Hey John, just wanted to let you know that yo...
[View] -
John Barrett:
<
Hi charlie,thanks!Sorry for the late reply, b...
[View]