Re: Connect to MySQL server from a c++ application

2012-06-08 Thread Claudio Nanni
Simon, yes it is C, C++ here: http://dev.mysql.com/downloads/connector/cpp/ I did not work with this libraries and to be honest I do not know about their performances, If you have the chance it would be extremely useful for the community having some tests done with both APIs. Cheers Claudio

Re: Connect to MySQL server from a c++ application

2012-06-08 Thread Simon Walter
On 06/08/2012 01:55 AM, Claudio Nanni wrote: Hi, you guys don't like the official API? http://dev.mysql.com/downloads/connector/c/ That's C isn't it? I think there is also a C++ connector. I'm interested to hear how that performs. It seems like a waste of time to write a bunch of wrappers

Re: Connect to MySQL server from a c++ application

2012-06-07 Thread Lars Nilsson
On Thu, Jun 7, 2012 at 12:55 PM, Claudio Nanni wrote: > Hi, > > you guys don't like the official API? > > http://dev.mysql.com/downloads/connector/c/ > > Cheers > > Claudio Personally? Not really. For instance, memory leaks are "not acceptable" according to Simon's expressed desire. SQLAPI++ al

Re: Connect to MySQL server from a c++ application

2012-06-07 Thread Baron Schwartz
There is also libdrizzle. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql

Re: Connect to MySQL server from a c++ application

2012-06-07 Thread Claudio Nanni
Hi, you guys don't like the official API? http://dev.mysql.com/downloads/connector/c/ Cheers Claudio 2012/6/7 Lars Nilsson > On Thu, Jun 7, 2012 at 3:08 AM, Simon Walter wrote: > > On 06/07/2012 12:29 PM, Lars Nilsson wrote: > >> I've been happy using SQLAPI++ (http://www.sqlapi.com/) where

Re: Connect to MySQL server from a c++ application

2012-06-07 Thread Lars Nilsson
On Thu, Jun 7, 2012 at 3:08 AM, Simon Walter wrote: > On 06/07/2012 12:29 PM, Lars Nilsson wrote: >> I've been happy using SQLAPI++ (http://www.sqlapi.com/) where I work. >> Commercial and not open source, but it's cross-platform and supports a >> dozen or so different databases. > It looks nice.

Re: Connect to MySQL server from a c++ application

2012-06-07 Thread Simon Walter
On 06/07/2012 12:29 PM, Lars Nilsson wrote: On Wed, Jun 6, 2012 at 10:41 PM, Simon Walter wrote: However, memory leaks are not acceptable. So I am open to suggestions. What do other c++ programmers use? I've been happy using SQLAPI++ (http://www.sqlapi.com/) where I work. Commercial and not

Re: Connect to MySQL server from a c++ application

2012-06-06 Thread Lars Nilsson
On Wed, Jun 6, 2012 at 10:41 PM, Simon Walter wrote: > However, memory leaks are not acceptable. So I am open to suggestions. What > do other c++ programmers use? I've been happy using SQLAPI++ (http://www.sqlapi.com/) where I work. Commercial and not open source, but it's cross-platform and supp

Connect to MySQL server from a c++ application

2012-06-06 Thread Simon Walter
What is the most stable and performant way to connect to a MySQL server from a c++ application? I've been using libmyodbc via unixODBC running under Debian squeeze. Suffice it to say, I am sorely disappointed. First of all the libmyodbc driver that's included with Debian is quite old. Howeve