No suitable driver: JDBC IDS2000
Posted in 2000
Topics: Connectivity: ODBC / JDBC / .NET, Security, Permissions & Auditing
I'm trying to run the following code, but with a diffrent password. I keep getting: No suitable driver, from it. I've looked at previous posts and found that it is usually a url string error, but the is the exact string returned by informix's JDBC test program, which does connect without a problem. Connection conn; try { String ifxDriver = "com.informix.jdbc.IfxDriver"; DriverManager.setLoginTimeout( 60 ); Driver IfmxDrv = (Driver) Class.forName(ifxDriver).newInstance(); conn = DriverManager.getConnection("jdbc:informix-sqli//216.181.87.37 :5555/address_book:INFORMIXSERVER=yuri_online;user=informix;password=Wel come"); System.out.println("Driver loaded...and connection established"); } catch (Exception e) { System.out.println("Could not CONNECT to DATABASE server...."); System.out.println(e.getMessage()); } } Thanks in advance for any comments, ideas, Eric Gandt egandt@netscape.net Sent via Deja.com http://www.deja.com/ Before you buy.