Win a copy of Kotlin for Android App Development this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Informix and JDBC  RSS feed

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Iam trying to connect to Informix - IDS 2000 server from the Java example program which I got, when I downloaded the JDBC driver from Informix website. But when I try to run the program using - java demo1 'jdbc:informix-sqli://varadan:1526:informixserver=ol_varadan;user=informix;password=informix' , Iam getting error 'No suitable driver found' as an sql exception. The Class.forName() command executes properly, bit the createStatement command gives the sqlException. I tried with 1533 instead of 1526 in the commandline argument, but that also didn't help. There is no problem with the userd and passwd too as Iam able to connect to server using this set from dbaccess. The ifxjdbc.jar is placed in c:\jdbc\lib folder and c:\jdbc\lib\ifxjdbc.jar is included in classpath. The database server and the example are both residing in my laptop. Any suggestions/insights would be greatly appreciated.
[This message has been edited by Varadan Anandanpillai (edited September 01, 2001).]
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!