Re: Problem while trying to connect ... solved
Posted by: Magnus Bjorkman
Date: January 03, 2005 12:16PM

Problem solved!
After printing every property variable and everything look OK, there is I started to play some values I used to connect.

I used:

String database = "jdbc:mysql://mydb";

It turned out I missed one "/" so when I used:

String database = "jdbc:mysql:///mydb";

everything connected fine.

Options: ReplyQuote

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.