This is the output :
SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
The error is because of the url.
I checked the format of url on google. "jdbc:odbc:" is the correct format.
I wrote in the command prompt " CREATE DATABASE XYZ"
it gave the error as database already mounted.