Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
3.x, 4.5.3, 4.6.0
-
None
-
28ceb2ea5e79d65904d2ad83b8259e75b60acff6
Description
QMySQL - no way to set up SSL.
In the documentation, it looks like we can set up SSL connection to a MySql database, but this does not appear to be correct.
We currently only pass CLIENT_SSL when we call mysql_real_connect, but according to mysql document, we should call mysql_ssl_set to setup this flag before connecting.
And what's more, we don't have any support for setting up the certificate, cipher, etc, which makes the mysql ssl support useless.
We should add support for calling mysql_options.
See:
http://dev.mysql.com/doc/refman/5.1/en/mysql-ssl-set.html
http://dev.mysql.com/doc/refman/5.1/en/mysql-options.html