Hi all,
success at last but only in one condition:
Mysql server running on my windows development machine.
This is the win32 binary with no ssl support
Stunnel (
http://www.stunnel.org ) to emulate an encryption of the connection to the server (i.e., if I understood well, stunnel acts as a layer on the server side, listening on a port and encrypt/decrypt ssl, thus allowing ssl support on mysql)
The following parameters in the stunnel.conf file:
Code: Select all
cert = \client-cert.pem
key = \client-key.pem
CAfile = \cacert.pem
[mysqls]
accept=3306
connect=localhost:3306
and then it works irrespective of whether I use direct=true or false...
I had to eliminate all the libmysql.dll files on the system to make sure there wasn't one that would interfere and I put the latest one I could find in the windows\system32 directory
It works... now, I still don't understand why it doesnot work on the linux box, given that the server is well configured and connects through ssl with other client apps...
________
HAWAII MEDICAL MARIJUANA DISPENSARIES