jdbc - ColdFusion 11 and Azure Database -
jdbc - ColdFusion 11 and Azure Database -
i cant coldfusion connect azure database. have old coldfusion based admin routine requires datasource , moving aws azure.
after reading online, seems wont work unless utilize other datasource , jdbc driver , settings. in coldfusion 11, wont validate , tells me
connection verification failed info source: mydata com.microsoft.sqlserver.jdbc.sqlserverexception: connection string contains badly formed name or value. root cause that: com.microsoft.sqlserver.jdbc.sqlserverexception: connection string contains badly formed name or value.
ive tried lots of combinations , cant work. has got working , have illustration connection string.
i worked out. examples found online wrong. below settings need. need download latest jdbc drivers microsoft , set jar files lib
directory of coldfusion installation (or in cf classpath) , restart cf server first.
datasource type: other jdbc url: jdbc:sqlserver://yourservername.database.windows.net:1433;databasename=yourdatabasename;user=yourusername@yourservername;password=yourpassword; driver class: com.microsoft.sqlserver.jdbc.sqlserverdriver driver name: microsoft sql server azure
azure jdbc coldfusion
Comments
Post a Comment