I guess I called it DNSLESS because the driver embedded the information. So now the JDBC URL is a bit longer then using just the
ODBC service and there’s no JNDI service helping with connection. The problem with that is its not centralized in place to edit.
I realize this is an old thread. Has anyone successfully used this technique? I tried it and I get some error about mySQL_connection_test not being a valid object.
I tried about four other DSNless connection techniques and none of them worked either.
A working code example would be greatly appreciated!
I got it down to basically two lines of code which should be kept
far away from all other code. The only Objects on your CFML page
should be Statement Objects and PreparedStatements Objects
which should open and closed.