Forums » General Discussion

Thread: Error trying to connect MySQL 5.5.25 through SSL.

This question is not answered. Helpful answers available: 2. Answered answers available: 1.


Permlink Replies: 2 - Pages: 1 - Last Post: Jun 5, 2012 6:54 AM by: adaware.jlpc_343 Threads: [ Previous | Next ]
adaware.jlpc_343

Posts: 6
Registered: 6/5/12
Error trying to connect MySQL 5.5.25 through SSL.
Posted: Jun 5, 2012 3:27 AM
 
  Click to reply to this thread Reply

Hello:
I have just upgrade from MySQL 5.1.34 to 5.5.25 and old connections through SSL I have configured in Toad for MySQL 6.3 does no working now!.
It shows next error:

System.IO.IOException
No se pudo llevar a cabo el protocolo de enlace debido a un formato de paquete inesperado.
Stack Trace:
en System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
en System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
en System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
en System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
en System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
en System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
en System.Net.Security.SslStream.AuthenticateAsClient(String targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation)
en MySql.Data.MySqlClient.NativeDriver.StartSSL()
en MySql.Data.MySqlClient.NativeDriver.Open()
en MySql.Data.MySqlClient.Driver.Open()
en MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
en MySql.Data.MySqlClient.MySqlConnection.Open()
en Quest.Toad.MySQL.MySQLConnection.DoBeforeConnect()
en Quest.Toad.Db.Connection.Connect(Boolean notify)
en Quest.Toad.Db.Provider.BackgroundConnector.CreateBackgroundConnection()

Anybody knows why?

Thank you!


Z6ePO

Posts: 7
Registered: 5/21/12
Re: Error trying to connect MySQL 5.5.25 through SSL.
Posted: Jun 5, 2012 5:46 AM   in response to: adaware.jlpc_343
 
  Click to reply to this thread Reply

Hello,
does it works without ssl ? (if yes, problem is with ssl , maybe certificates needs to be re generated after ugrade)





adaware.jlpc_343

Posts: 6
Registered: 6/5/12
Re: Error trying to connect MySQL 5.5.25 through SSL.
Posted: Jun 5, 2012 6:54 AM   in response to: Z6ePO
 
  Click to reply to this thread Reply

Thank you!
Yes, it worked before the upgrade.
Afther upgrade it works with mysql command line client and with MySQL Workbench but no with TOAD.
It could be related with libmysql.dll or something related with yaSSL or OpenSSL?

¿?


Legend
Guru: 2001 + pts
Expert: 751 - 2000 pts
Enthusiast: 31 - 750 pts
Novice: 0 - 30 pts
Moderators
Helpful answer (5 pts)
Answered (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums