This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Please help, Connector J mysql problem

 
Hardy Chou
Greenhorn
Posts: 27
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
see this thread.
Jamie
[ September 17, 2002: Message edited by: Jamie Robertson ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic