• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Please help, Connector J mysql problem

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
i am using jdk1.3 and mysql 3.23.51 and tomcat 4.0.4. i downloaded the latest connector j [jdbc driver for mysql] and i put it under jdk1.3\jre\lib\ext\. my tomcat is running now and mysqld --standalone is also running on. however, i cannot seem to connect to the database.
jdbc could find the class, so this below line is ok:
Class.forName "com.mysql.jdbc.Driver").newInstance();
however if i add this line to connect to the db:
con = DriverManager.getConnection "jdbc:mysql://localhost:3306/test");
i would get the error message HTTP Status 500 - Internal Server Error. i never encounter this with my old mm.mysql driver. any idea guys?
thank you
hardy
 
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
see this thread.
Jamie
[ September 17, 2002: Message edited by: Jamie Robertson ]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic