Re: Communication failure during handshake. Is there a server running on localhost:3306?
Posted by: smith veg
Date: May 08, 2006 07:46AM

i'm new to this area... i also have this problem now !

i was running in a never ending circle... help me pls...

i have read all the thread here... but i can't find the solution...

i have download mysql-connector-java-3.0.1-beta and extract it...
afterthat i copy mysql-connector-java-3.0.1-beta-bin.jar to c:\temp

i have set the environment variables like this:-
CLASSPATH : C:\temp\mysql-connector-java-3.0.1-beta-bin.jar

then i set at JCreator-> Configure -> Options -> JDK Profiles
i add a ned class like this:-
C:\temp\mysql-connector-java-3.0.1-beta-bin.jar

i still cannot worked and cannot run my java program...

one more things... when i login to mysql administrator GUI with port:3306, username:root, password:admin, host:localhost
IT WORDED...

i wonder to know why the java programs get problem when connect to mysql?

can anyone help !
all the information i describe above, it should give you some hints...
but i can't get any hints...

help me pls...thank you...

smithveg

Options: ReplyQuote


Subject
Written By
Posted
Re: Communication failure during handshake. Is there a server running on localhost:3306?
May 08, 2006 07:46AM


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.