jdbc mysql connection problem
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   audi_potdar
Posted On:   Tuesday, November 6, 2001 09:45 AM

I am trying to connect to mysql database, but the there is a problem. it loads the driver and tries to get the connection, but fails, well actually doesnt do anything just keeps trying.


the driver is loaded and i am using
con=DriverManager.getConnection("jdbc:mySQL://localhost/myocsco_expired?user=unmae&password=password")
to connect, i tried the convevtional way to connect using
con=DriverManager.getConnection("url,"unmae","password"); but it wont work either.
can someone shed some light here and help me make the connection to the database.

Thanks for you time

Re: jdbc mysql connection problem

Posted By:   Anonymous  
Posted On:   Tuesday, November 6, 2001 10:43 AM

What's the error message?
About | Sitemap | Contact