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