FAQ

Search Discussions

2,868 discussions - 9,666 posts

  • I connect to the database and valgrind shows a memory leak originating from the MySQL++ connection variable. The database and user exists, the connection is successful. My test code: // test.cpp ...
    Tamás KásaTamás Kása
    Jul 21, 2014 at 2:16 pm
    Jul 28, 2014 at 2:42 pm
  • Thanks in advance for any help. I'm running a simple example of sharing a Connection between multiple threads that is giving me errors: $ ./zeros zeros(11047,0x108268000) malloc: *** error for object ...
    Damien KickDamien Kick
    Jul 10, 2014 at 7:01 pm
    Jul 11, 2014 at 11:14 pm
  • I tried building Trunk with MariaDB 10 - and ran into some link issues during bootstrapping because it looks like Maria requires a lot more libraries My autoconf stuff is not very good, this seems to ...
    Adrian CornishAdrian Cornish
    Jul 3, 2014 at 12:18 am
    Jul 9, 2014 at 8:28 am
  • Yes. The reason and the fix are given in README-Visual-C++.txt: http://goo.gl/Lgv7wP (Project Files section.) -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To ...
    Warren YoungWarren Young
    Jun 9, 2014 at 3:00 pm
    Jun 9, 2014 at 4:15 pm
  • Doesn’t this pair ensure that if neither Connection object is connected, that is_connected_ gets a random value? Perhaps I have missed something. Also, please follow the style you find in existing ...
    Warren YoungWarren Young
    May 31, 2014 at 11:23 pm
    Jun 3, 2014 at 10:10 am
  • I'd guess many people use Transaction, but only with the default isolation level. You may well be the first to try using the full scope of the class's capabilities. Thanks for the report. It's fixed ...
    Warren YoungWarren Young
    Apr 3, 2014 at 7:38 pm
    Apr 3, 2014 at 7:38 pm
  • Hi all, I've been a bit lazy I would like to add some requirements to this project a) Lets officially support mariaDB hororacle have ?#$@*&$^% pretty well b) What else do users want I am going to ...
    Adrian CornishAdrian Cornish
    Mar 13, 2014 at 3:39 am
    Mar 17, 2014 at 4:51 pm
  • Hi Warren, thanks for the fast reply. I am on a 64 Bit Windows 7 Machine, but VS 2008 is 32 bit, so maybe thats the problem. Reading the README-Visual-C++.txt, I understand that is not possible to ...
    Flores FranciscoFlores Francisco
    Feb 7, 2014 at 1:43 pm
    Feb 12, 2014 at 2:32 pm
  • - We've got a big leg up on the conversion, thanks to Alex Burton. Only a small leg up - there is a lot more work to replicate all the existing build system does. Could you just distribute binaries ...
    Alex BurtonAlex Burton
    Jan 8, 2014 at 10:37 pm
    Jan 9, 2014 at 8:06 pm
  • qmake passes the first test: it can generate VS2010+ project files. qmake in Qt 4.8 on my system supports VS2003 through VS2012. The current code repo for Qt 5[1] doesn't have a VS2013 generator, but ...
    Warren YoungWarren Young
    Jan 8, 2014 at 8:45 pm
    Jan 8, 2014 at 8:45 pm
  • Hi, Below is a build script to build various versions of the mysqlpp dll on windows, I found it easier to write this than get the visual studio project files to work. I have been using mysqlpp for ...
    Alex BurtonAlex Burton
    Jan 6, 2014 at 6:51 am
    Jan 7, 2014 at 4:26 am
  • I'm maintaining some old code that needs to determine the type of mysqlpp::Field so that it can convert it to an ODBC equivalent. I'm doing this by fetching the c_type from the mysql_type_info and ...
    Jake ColmanJake Colman
    Jan 2, 2014 at 5:06 pm
    Jan 2, 2014 at 7:26 pm
  • I don't see how that can happen. In order to get a configure script, you have to bootstrap, and "make lib/querydef.h" is one of the bootstrapping steps. You should debug this more deeply. You maybe ...
    Warren YoungWarren Young
    Dec 31, 2013 at 6:11 am
    Jan 2, 2014 at 6:12 pm
  • I've been staring at the code and this probably should be obvious but I don't see it. My former developer added a new method to type_info.h: const int base_enum() const { return ...
    Jake ColmanJake Colman
    Dec 27, 2013 at 6:07 pm
    Dec 28, 2013 at 11:40 pm
  • Just minor bug fixes in this release: o Connection copy ctor wasn't copying the "throw exceptions" flag. The copy always had exceptions enabled. o Fixed resetdb's first output message when you run it ...
    Warren YoungWarren Young
    Dec 10, 2013 at 8:51 pm
    Dec 10, 2013 at 9:00 pm
  • i have just downloaded and compiled mysql++ on windows/mingw. I have noticed that resetdb always outputs: connecting to '1'@'1' with password. it is produced by the following code: cout << ...
    Alessandro BardelliAlessandro Bardelli
    Dec 10, 2013 at 12:00 pm
    Dec 11, 2013 at 8:11 am
  • Warren, Thanks for getting back to me. I decided to try and use msqlpp as a DLL as you suggested. I defined "MYSQLPP_MAKING_DLL" in the preprocessor section of the project properties but in common.h ...
    Jake ColmanJake Colman
    Nov 27, 2013 at 1:00 pm
    Nov 27, 2013 at 7:35 pm
  • I am using mysqlpp 3.1.0. I have turned on optional exception handling in my code. If I form a bad SELECT statement an exception is not being thrown. Instead I have to write to code to check for the ...
    Jake ColmanJake Colman
    Nov 25, 2013 at 4:20 am
    Nov 25, 2013 at 5:29 pm
  • I am pleased to announce the release of ODB 2.3.0. ODB is an open source object-relational mapping (ORM) system for C++. It allows you to persist C++ objects to a relational database without having ...
    Boris KolpackovBoris Kolpackov
    Oct 30, 2013 at 11:25 am
    Oct 30, 2013 at 11:25 am
  • Is the following code OK? Assume "conn" is valid. Queries Q1 and Q2 are MySQL queries written as C++ strings and do not return anything. Query query = conn.query(Q1); query.exec(); query.reset() ...
    Joseph HesseJoseph Hesse
    Aug 5, 2013 at 10:57 pm
    Aug 6, 2013 at 7:37 pm
  • This is the long-sought svn roll-up release. It has many changes, detailed below, but none of them break the library's API or ABI, so you can drop this in on top of an existing 3.1.0 build and expect ...
    Warren YoungWarren Young
    Jun 21, 2013 at 4:06 am
    Jun 21, 2013 at 5:32 pm
  • Hi, I notice that version 3.10 of mysql++ is dated June 3, 2010. Is development continuing on mysql++ or is 3.10 mature enough so no further work is necessary? Thank you, Joe Hesse -- MySQL++ Mailing ...
    Joseph HesseJoseph Hesse
    Jun 19, 2013 at 2:25 pm
    Jun 21, 2013 at 1:50 pm
  • I'm not very good with this stuff but am trying to learn. I was following the docs and am trying to build the example from chapter 9 on an Ubuntu Raring system. I used apt-get to install ...
    Mark DouglasMark Douglas
    Jun 12, 2013 at 1:54 am
    Jun 12, 2013 at 5:03 pm
  • -_-!!
    TangTang
    Jun 11, 2013 at 12:50 pm
    Jun 11, 2013 at 1:04 pm
  • 正在编译... load_jpeg.cpp ..\lib\ssqls.h(14) : fatal error C1189: #error : Your compiler is not compatible with the SSQLS feature!
    TangTang
    Jun 11, 2013 at 12:30 pm
    Jun 11, 2013 at 1:04 pm
  • mysql++ cann't be build in visual studio 2003
    TangTang
    Jun 11, 2013 at 11:25 am
    Jun 11, 2013 at 11:25 am
  • Hi, I'm working with a 64 environment and I support both 32 and 64 bit. When I compile and run the following code, I have different result in 32 vs 64 bit. Basically the connection disconnect after a ...
    Marc-André LavigneMarc-André Lavigne
    Jun 5, 2013 at 6:43 pm
    Jun 5, 2013 at 8:23 pm
  • ok, 1) so I tried to update the query object like: q << "set character_set_results=utf8" but it didn't like that and would kill the program. 2) when I SHOW VARIABLES on my mysql server, all ...
    Charles J. DanielsCharles J. Daniels
    May 28, 2013 at 9:10 pm
    May 29, 2013 at 1:37 am
  • So, I've posted twice about an inability to access a utf8 field in mysql through mysql++. Well I tried TinyODBC found at https://code.google.com/p/tiodbc/ and it accessed the value correctly. I've ...
    Charles J. DanielsCharles J. Daniels
    May 27, 2013 at 5:09 pm
    May 27, 2013 at 5:09 pm
  • Hello, So I wrote recently about a result that's not showing up to me as utf8. The specific value I'm trying to receive is a-zA-ZÀ-ÖØ-öø-ȳ and I can get all of it except for that last character, the ...
    Charles J. DanielsCharles J. Daniels
    May 27, 2013 at 10:56 am
    May 27, 2013 at 10:56 am
  • Hello, I'm using a connection to mysql through 127.0.0.1 to a database I did not create. The table files have a db.opt file among them whose only contents say: default-character-set=utf8 ...
    Charles J. DanielsCharles J. Daniels
    May 25, 2013 at 8:52 pm
    May 28, 2013 at 7:46 pm
  • Hi all, The documentation for mysqlpp::mysql_type_info::base_type() states that you should get the same result as c_type(), but not wrapped in the Null< template, in case the MySQL field type is ...
    Boaz YanivBoaz Yaniv
    Apr 18, 2013 at 8:49 pm
    Apr 18, 2013 at 8:49 pm
  • Just to be clear, you need the libmysqlclient-dev and the libmysqlclient18 packages. From the command line you can do: apt-cache search libmysqlclient to search for packages. How did you try to ...
    DevlinDevlin
    Mar 13, 2013 at 10:19 pm
    Mar 13, 2013 at 10:19 pm
  • Hi All, I have an embedded application (running on a PowerPC in linux environment) which accesses an external database. So my application needs mysql++ libraries which needs to be built using a ...
    Niranjan MNiranjan M
    Mar 13, 2013 at 8:12 am
    Mar 27, 2013 at 7:02 pm
  • FYI, you can combine these three lines into one: Query query = con.query("update cameras...etc.") You still have to call query.parse() after this. -- MySQL++ Mailing List For list archives ...
    Warren YoungWarren Young
    Jan 28, 2013 at 9:03 pm
    Jan 28, 2013 at 9:03 pm
  • Try adding 'query.parse()' after this line: query << sql; As per: http://tangentsoft.net/mysql++/doc/html/refman/classmysqlpp_1_1Query.html#5bfc86346581917cb833ed55ccd4d5b8
    Martin GallweyMartin Gallwey
    Jan 26, 2013 at 10:41 pm
    Jan 26, 2013 at 11:07 pm
  • Here is my code: http://pastebin.com/A4Km6bcC MySQL returns with: Commands out of sync; you can't run this command now t1 is created, but t2 is not. For some reason MySQL++ thinks I'm running the ...
    Jordan HewittJordan Hewitt
    Jan 15, 2013 at 9:29 pm
    Jan 15, 2013 at 10:39 pm
  • Hi, I am writing an application where I have created an interface class to the mysql database. The class contains a vector of SSQLS objects which are defined by the sql_create_# macro. I have placed ...
    Kevin SmithKevin Smith
    Sep 26, 2012 at 4:14 am
    Sep 26, 2012 at 1:21 pm
  • Hi, I have just tried to compile MySQL++ 3.1.0 on CentOS 6, using rpmbuild and the included spec file. Unfortunately, the compilation failed because one of the cpp file (ssx/genv2.cpp) failed to ...
    Guido-mysqlppGuido-mysqlpp
    Sep 3, 2012 at 4:30 pm
    Oct 4, 2012 at 10:39 am
  • I am trying to use the type "mysqlpp::sql_double_null" defined in lib/sql_types.h and my program won't compile. The field "Cost", in table "Orders", is decimal(5,2) and can be NULL. The following ...
    Joseph HesseJoseph Hesse
    Aug 16, 2012 at 10:04 am
    Aug 17, 2012 at 1:59 am
  • Hi, I defined my own little simple connection pool, since I store there (compile time dependent) either PostgreSQL or MySQL connections. std::list<boost::any connectionPool; void ...
    Bernd PragerBernd Prager
    Aug 3, 2012 at 6:59 pm
    Aug 3, 2012 at 8:57 pm
  • I recently upgraded to Linux Mint 13 (based on ubuntu 12.04) and tried to install mySQL++ from the package manager, only to find no trace of files such as 'mysql++.h' and others I would expect to ...
    KwericksonKwerickson
    Jul 27, 2012 at 6:47 am
    Jul 27, 2012 at 6:55 am
  • Hello, When trying to build the mysql++.sln with VS 2010 I get 39 unresolved externals. These are the libs i included: wsock32.lib; libmysql.lib; mysqlpp_d.lib; These are some of t hem: Error 38 ...
    Erwin C.Erwin C.
    May 31, 2012 at 12:34 pm
    May 31, 2012 at 8:54 pm
  • Hello-- I've been developing a MySQL++ application for the last couple of months on Ubuntu 11. Day before yesterday I let the system upgrade itself to Ubuntu 12. The next day when I tried building my ...
    John MendosaJohn Mendosa
    May 2, 2012 at 4:35 pm
    May 2, 2012 at 4:43 pm
  • Hello, I've got a little problem with mysqlpp. I use a command like this: QStringList list=getQStringListFromSqlScript(scriptPath, databaseName); mysqlpp::Query query = mySqlConnection- query() ...
    Franz EngelFranz Engel
    Apr 23, 2012 at 8:45 pm
    Apr 26, 2012 at 6:17 am
  • Hi, I've been using MySQL++ 3.1.0 for a while now and it has been worked great! But, I have realized, my includes are a mess and when I try to change those, a bunch of warnings shows up with g++. I'm ...
    Ina J.Ina J.
    Mar 14, 2012 at 1:41 pm
    Mar 14, 2012 at 1:59 pm
  • Hi, My laptop has Linuxmint 12 with mysql++ 3.1.0 The restaurants who use my software have Linuxmint 11 with mysql 3.0.9... So I compile with version 3.1.0 and try to run it at a PC with version ...
    MensfortMensfort
    Mar 11, 2012 at 2:01 pm
    Mar 11, 2012 at 11:35 pm
  • Hello, I have recently upgraded from MySQL 5.0.77 to 5.5 and a few of my servers where the program runs full time have crashed with a segmentation fault. It takes some days to happen and the ...
    Sebastien DarveauSebastien Darveau
    Feb 6, 2012 at 4:51 pm
    Feb 9, 2012 at 10:40 pm
  • Hello, I have a C++ project for 32 Bit Windows in a quite mature state that uses mysqlpp 3.0.9 and MySQL 5.5. Originally, it used MySQL 5.1, but I was required to update to MySQL 5.5 some time ago ...
    Wolfgang PauschWolfgang Pausch
    Jan 18, 2012 at 10:36 am
    Jan 18, 2012 at 12:34 pm
  • Hello, i want to cross-compile mysql++ 3.1.0 on Ubuntu (32 bit, x86) The resulting code shall run on a ARM Linux system. Compiler itself is running. I have mysql already running on ARM Linux and ...
    Martin MaurerMartin Maurer
    Jan 13, 2012 at 3:44 pm
    Jun 15, 2012 at 3:04 pm
Group Navigation
period‹ prev | Latest | first ›
Group Overview
groupplusplus @
categoriesmysql
discussions2,868
posts9,666
users1,867
websitemysql.com
irc#mysql

Top users

Mysqlpp: 2245 posts Sinisa: 318 posts Sinisa: 250 posts Chris Frey: 216 posts Jonathan Wakely: 134 posts Chris Frey: 107 posts Jim Wallace: 95 posts Joel Fielder: 73 posts Warren Young: 65 posts Rick Gutleber: 64 posts Graham Reitz: 56 posts Adrian Cornish: 55 posts Earl Miles: 50 posts Matt Dargavel: 37 posts Markus Gerwinski: 37 posts Gary clark: 36 posts Tom: 35 posts Alex: 35 posts Richard Fox: 34 posts Thomas Werth: 34 posts
show more
Archives