1 //Connect with "jdbc:csql:5678:localhost:csql" and give correct "user" and "password" in properties object. It should fail
5 public static void main(String
[] args
)
9 Class
.forName("csql.jdbc.JdbcSqlDriver");
10 Connection con
= DriverManager
.getConnection("jdbc:csql:5678:localhost:csql", "root", "manager");
11 if (con
!= null) {con
.close(); System
.exit(1);}
13 System
.out
.println("Exception in Test: "+e
.getMessage());