SSL - MySQL

The official tester's forum for ZeosLib 7.1. Ask for help, post proposals or solutions.
Post Reply
trob
Senior Boarder
Senior Boarder
Posts: 51
Joined: 20.03.2007, 02:24

SSL - MySQL

Post by trob »

Hi

I would like to have SSL connection with MySQL 5.6. I use Zeos 7.1.2-stable in Delphi XE2 U3.

I put "MYSQL_SSL=TRUE" in the properties of the connection, but it still connect without SSL.

How can i do SSL?
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Re: SSL - MySQL

Post by EgonHugeist »

Check ZDbcMySQL.pas.
procedure TZMySQLConnection.Open.
There you'll find some parameters which need to be added to TZConnection. F.e. SSL_CYPHER etc. We need the certificate for handshake of SSL.
Alos will you find some more threads accordingly SSL-tunnels in this Forum.
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
trob
Senior Boarder
Senior Boarder
Posts: 51
Joined: 20.03.2007, 02:24

Re: SSL - MySQL

Post by trob »

Thanks, i have found them. How/Where can i get these datas?
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: SSL - MySQL

Post by marsupilami »

Hello trob,

which things do you know about connecting with SSL and which things are still unclear for you?
Best regards,

Jan
trob
Senior Boarder
Senior Boarder
Posts: 51
Joined: 20.03.2007, 02:24

Re: SSL - MySQL

Post by trob »

Hello Jan

I followed this: http://dev.mysql.com/doc/refman/5.6/en/ ... tions.html and now it WOOOOOOOOOORKS!

:sailor:

Robi
Post Reply