Problem when Connect to mySQL using Java ?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   mohan_seenippandian
Posted On:   Wednesday, September 24, 2003 10:02 PM



Actually i am trying to connect to mySql 3.23.54 in Redhat
Linux 9 using j2sdk 1.1.4_03.The driver name is
"org.gjt.mm.mysql.Driver",i am able load the
driver, but not able to connect, it is giving the following error


General Exception :java.sql.SQLException: Driver not found for
URL: jdbc:mysql:///test


Please help me.


Rgds

Mohan S




Re: Problem when Connect to mySQL using Java ?

Posted By:   Anonymous  
Posted On:   Wednesday, September 24, 2003 11:39 PM

did you have or download the mysql-connector-j and did you put it at the corrected place? i have just connect ok on window platform but i'm not try on linux yet, hope that it will be the same, maybe these will help you, view:

http://www.jguru.com/forums/view.jsp?EID=1115846


good luck

mai duc hung
About | Sitemap | Contact