MySQL Forums
Forum List  »  Connector/C++

sql::Connection vs MYSQL*
Posted by: Homer Homer
Date: March 10, 2011 03:21PM

Hi All,

I have a mixture of C and C++ code that opens connection to MySql database in C by creating 'MYSQL *' variable.
Now I have a C++ code (that uses sql::Connection to connect to MySql). Is there any way to cast these things together (MYSQL* to sql::Connection)?
Can C++ code uses already opened MYSQL* ?

Thanks in advance,

Homer

Options: ReplyQuote


Subject
Views
Written By
Posted
sql::Connection vs MYSQL*
3163
March 10, 2011 03:21PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.