Dear Sir/madam,
      we are able to connect Mysql database using JSP in Linux RedHat-6.2  
OS (with out using user and password).
    when we are trying to connect using user and password it was not able to 
connect.

We wrote code like this

String DBUrl =
"jdbc:mysql://localhost:3306/databasename?user=username&&password=pass";

Iam getting an error :

"java.sql.SQLException: Communication link failure: Bad handshake ".


please give a suggestion to connect mysql,

Thanking you Sir,

naveed

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to