Question about MyDAC and SSL

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
nelson
Posts: 7
Joined: Sun 02 Mar 2008 22:52

Question about MyDAC and SSL

Post by nelson » Wed 27 Aug 2008 08:37

dear peopel

could you please tell me how MyDAC makes an authentication to an MySQL server if SSL option is on:

a) MyDAC first only connect to the server and handles the SSL. after the SSL security connection is esthablished, MyDAC send's the username and password SSL crypted. or..

b) MyDAC connect to the MySQL server, send's the username and password. after this, SSL connection is esthablished, and the password where not be crypted by SSL connection. only by MD5 hash.

thank you :)

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Wed 27 Aug 2008 12:38

MyDAC connects to the MySQL server first and then tries to esthablish SSL connection.
After the SSL security connection is esthablished, MyDAC sends the username and password SSL crypted.

nelson
Posts: 7
Joined: Sun 02 Mar 2008 22:52

Post by nelson » Wed 27 Aug 2008 12:53

hello Dimon

that sounds very great, thank you. could you me please say which libeay32.dll and ssleay32.dll will work for MyDAC 4.X? i can't find anyone.

is it any special build of openSSL? because the indy components uses an other library version. which means, MyDAC and Indy can't use the same DLL editions. have you any idee how to get work for both?

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Wed 27 Aug 2008 14:31

MyDAC 4.XX uses libeay32.dll and ssleay32.dll from OpenSSL version 0.9.7.

Post Reply