Error #08S01Bad handshake - MySQL 5.5.12,Win64,Delphi7

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
AndreyZ

Post by AndreyZ » Fri 08 Jul 2011 08:25

Please send me an e-mail to andreyz*devart*com . I will send you a test application, so you will be able to check this problem.

DanielH
Posts: 10
Joined: Tue 01 Jun 2010 13:51

Bad Handshake with UniDAC 3.70.0.18

Post by DanielH » Tue 12 Jul 2011 06:17

Hello,

with your test application I can connect to the MySQL DB.
Your project is with a MyDAC component TMyConnect.

I have UniDAC Components.

The TUniConnect Component needs a Provider Component, in my case
TMySQLUniProvider Component.A providername must be defined
in the TUniConnetion Component object.

With the changed Project, I get the "Bad Handshake" error.

I have send the edited project to you.

Regards,
Daniel

AndreyZ

Post by AndreyZ » Tue 12 Jul 2011 08:44

I've checked the edited project you sent me. Using your Project1.exe I receive the "Bad Handshake" error, but after rebuilding this application in RAD Studio XE with UniDAC 3.70.0.18, this error doesn't occur. Please check the exact version of UniDAC you have on your computer. For this, please look at the About sheet of TUniConnection Editor. Also please check if you can connect to your MySQL server in the Direct mode in design-time.

DanielH
Posts: 10
Joined: Tue 01 Jun 2010 13:51

Bad Handshake with UniDAC 3.70.0.18

Post by DanielH » Tue 12 Jul 2011 09:04

Hello,

Now I can connect to the MySql DB.

I had a UniDac 3.70.0.17 Version not a 3.70.0.18.
Before I used an old unidac370d15pro.exe to (re-)install UniDAC.

Thanks for help :D

AndreyZ

Post by AndreyZ » Tue 12 Jul 2011 09:17

It is good to see that this problem has been solved. If any other questions come up, please contact us.

Post Reply