Re: searching for a good mysql/postgresql library for c++

  • From: Jared Wright <wright.jaredm@xxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Thu, 11 Aug 2011 11:02:59 -0400

mysql Connector/C++?
Getting Started: http://dev.mysql.com/tech-resources/articles/mysql-connector-cpp.html
Download: http://dev.mysql.com/downloads/connector/cpp/
On 8/11/2011 7:42 AM, Homme, James wrote:
Hi Ty,
I'm no stranger to dumb questions, so here goes. Why not do one of two things? 
Use a different language, or maybe there's a generic C++ library that happens 
to also read MySQL.

Jim

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx 
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Littlefield, Tyler
Sent: Wednesday, August 10, 2011 11:00 PM
To: programmingblind@xxxxxxxxxxxxx
Subject: searching for a good mysql/postgresql library for c++

Hello all:
I've looked at soci and mysql++ and have found problems with both so far:
soci:
1) The "stable" release isn't actually stable, refuses to compile and
you have to use the git version.
2) The documentation gives about 3 different methods for compiling soci,
none of which actually work.
mysql++:
1) the "stable version," again refuses to compile. There was an error
about strcmp, so I added #include<strings.h>  to the top of the file and
that solved it. Next was an error relevant to the actual library, so I
gave up.

So, this leads me to a question; are there any good libraries out there
for database access? I really liked the example soci showed, if only
soci would work. What have you guys used in the past?

--

Take care,
Ty
my website:
http://tds-solutions.net
my blog:
http://tds-solutions.net/blog
skype: st8amnd127
My programs don't have bugs; they're randomly added features!

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind


This e-mail and any attachments to it are confidential and are intended solely 
for use of the individual or entity to whom they are addressed.  If you have 
received this e-mail in error, please notify the sender immediately and then 
delete it.  If you are not the intended recipient, you must not keep, use, 
disclose, copy or distribute this e-mail without the author's prior permission. 
 The views expressed in this e-mail message do not necessarily represent the 
views of Highmark Inc., its subsidiaries, or affiliates.
__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind


__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: