Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 2nd, 2001, 12:24 PM
liam liam is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 1 liam User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
odbc jdbc

Hi,
Im a little new to mySQL and this is the first time I have tried to connect to it using Java (or any other language) and I am having problems.
I downloaded and installed the myodbc, no problems there, then downloaded the mm.mysql driver classes and setup my classpath to point to the file. After that I wrote the java code which is correct as far as I know, and compiled. But when I go to run the program I get a class not found error : org.gjt.mm.mysql.Driver and I am using the newInstance() method
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
Can anybody help me, I think im missing a step in the setup process but cant find anything on the web, and this has been going on for a day and a half.
Any tips will be very welcome
Liam

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > odbc jdbc


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT