Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in connecting on multiple mysql database versions

 
ramzi ghaith
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

i have a mysql database version 4.0 runing on port 3306 and i installed another version from mysql 5.0 runing on port 3308.

the problem is, when i trying to connect on mysql version 5 on port 3308 i face the error something like :
"java.sql.SQLException: Communication failure during handshake. Is there a server running on localhost:3308?"

and i tried to connect to my mysql 5.0 by : telnet localhost 3308 its work.


If any body has any idea help me.

Thank you all.

Regards,
Ramzi
 
Rob Spoor
Sheriff
Pie
Posts: 20533
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps your driver does not support MySQL 5? Have you tried the latest version?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic