List:MySQL++« Previous MessageNext Message »
From:Chris Frey Date:July 21 2005 12:32pm
Subject:Re: MySQL++ and SSL
View as plain text  
On Wed, Jul 13, 2005 at 07:42:27AM +0000, lmarcilly@stripped wrote:
> - how to set ssl options ? I have found the mysql_ssl_set but it is C code and i'm
> not sure i can use it in C++ code... I think i can... Can i do this?

You'd have to check the mysql C API manual.  http://www.mysql.com/


> - to connect to the database, should i use the connect function in MySQL++ or since
> i'm using mysql_ssl_set, should i use mysql_real_connect of the C API ?

If you're using mysql++, stick with C++, and use the Connection constructor
to set the options you'd set with mysql_real_connect.

- Chris

Thread
MySQL++ and SSLlmarcilly13 Jul
  • Re: MySQL++ and SSLChris Frey21 Jul
  • Re: MySQL++ and SSLWarren Young22 Jul