Page 1 of 1

SSL - MySQL

Posted: 01.01.2014, 10:24
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?

Re: SSL - MySQL

Posted: 01.01.2014, 16:53
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.

Re: SSL - MySQL

Posted: 01.01.2014, 17:04
by trob
Thanks, i have found them. How/Where can i get these datas?

Re: SSL - MySQL

Posted: 01.01.2014, 22:16
by marsupilami
Hello trob,

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

Jan

Re: SSL - MySQL

Posted: 02.01.2014, 03:35
by trob
Hello Jan

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

:sailor:

Robi