Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JDBC

Status
Not open for further replies.

doddo

Programmer
Feb 14, 2001
37
GB

hi
I am connecting to a db on the same machine as the one that I am on. I can connect to the server from the command line but can't connect via JDBC. The error claims a bad handshake. The weird thing is that the script will connect to other servers. Does anybody know what this could be?

cheers
Rich
 
Hi
I've just started using jdbc with mysql so I can't claim
expertise but I've got things working with the twz driver.
It's pretty straight forward just follow the docs that
come with the driver. One hint is that if you are using
jdk1.2 or above you need to use the NOOPT version of the
driver or you get some errors on connecting. Just jar up
the noopt\twz1 dir and put it on your classpath. Then
its simple. Follow the example in the docs.

I've been trying to get the mm driver to work but I'm
having some trouble. Support for it is non existent (other
than the mailing list from mysql.com.)

Jake
rengel4@nycap.rr.com


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top