dbTalk Databases Forums  

MySQL SSL connection using MySQL++

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss MySQL SSL connection using MySQL++ in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gregor Kronenberger
 
Posts: n/a

Default MySQL SSL connection using MySQL++ - 04-14-2005 , 10:48 AM






Hi,

I have recompiled MySQL 4.1.11 to include the SSL libraries for windows.
Using the recompiled client, I can connect to the DB using an SSL
connection.

I have looked at the MySQL++ source code and modified the connect()
function to send along the CLIENT_SSL flag as well as mysql_ssl_set()
command that configures the correct SSL values using absolute paths.
However, my connections returns "bad handshake".

I was wondering if anyone has been able to use the mysql++ libaries with a
SSL encrypted connection.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw


Reply With Quote
  #2  
Old   
Warren Young
 
Posts: n/a

Default Re: MySQL SSL connection using MySQL++ - 04-14-2005 , 12:33 PM






Gregor Kronenberger wrote:

Quote:
modified the connect() function
You shouldn't have to do that. Construct your Connection object as a
default object; i.e. without telling it the server to connect to and
such. Then call Connection::real_connect with the same parameters as
you'd use when calling mysql_real_connect() in the C API.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.