[thelist] CF: Determining which DB used.

Raymond Camden jedimaster at macromedia.com
Wed Sep 12 11:45:12 CDT 2001

> CFRegistry obviously only works on Win systems, and only when 
> it has not been disabled in the Administrator console (on 
> production machines, generally it should be disabled).

Um... no. CFRegistry does work in nonwin formats, but we use a "fake"
registry for non-win.

> So, for this to work cross-platform, your code would need to 
> check the 'Server.OS.Name' variable.  If the only DB you are 
> running under Linux is MySQL, then the DBtype is always MySQL 
> when the OS is Linux, right?  If the server OS is Windoze, 
> you check the registry (if the cfregistry tag is enabled).  

This is a good trick though.


More information about the thelist mailing list