ColdFusion 8 access to MySQL database without datasource
My webhosting doesn't allow us to access and modify the datasource, but having CF8, anyone have done 开发者_如何学Pythonaccess to mysql before?
Do I need to use PHP?
I'm sure you could do it using Mark Mandel's JavaLoader and MySQL Connector, but no way you could work with it normally :(
Probably it would be better if you write what you'd like to do, maybe you could do that some other way which doesn't require access to CF administrator.
Why cant you take advantage of CF 8s application.cfc settings? Reference This should allow you to do what you have to do. Additionally you can actually get at the underlying java objects. This Web page should point you in the right direction.
To clear up, they said Plesk control panel could automatically connect CF DSN to MySQL db
精彩评论