From: Date: July 21 2005 12:32pm Subject: Re: MySQL++ and SSL List-Archive: http://lists.mysql.com/plusplus/4676 Message-Id: <20050721103254.GB17420@netdirect.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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