  | | | MySQL++ | I do something very similar and it works. I 'd move the "user added "
message after the commit since if you catch an exception it still will
say user added. It 's also not clear that conn and ConfigurHello
I am trying to add a row to a database.
Connection goes fine (I check if connect returns false and it does not).
I use the following simple code
if (!conn.connect( "mydb " "localhost " "rootHi
I found what could be the problem. Apparently I have to link any SQL
programs against a library in /usr/local/lib64 instead of /usr/lib64.
I tried using the --with-mysql-lib /usr/local/lib64/mysHi
I have a program that uses both boost threads and mysql++ and I 'm
getting this
Error in my_thread_global_end() 1 threads didn 't exit
...when the program terminates.
I did some googling and As for background of this I needed it in two cases. 1) Detecting
duplicate keys and 2) adding retry logic in the event of a deadlock
(and yes I know how and why they should be avoided but fault-tI got the head from SVN rebuilt the dsp/ws using bakefile. I had to
add win sock and correct a strcmp call to get the library to compile and
now I get the following link errors on the rest. Any ideOn 24/09/2007 Warren Young <mysqlpp@(protected) > wrote
> The whole 32 vs. 64 bit thing probably isn 't helping either but since
> I 've not yet had a reason to move to 64 bits I cannot advise furthJerry Ro wrote
>
> mysqlclient14-4.1.14-4.2
> mysqlclient10-devel-3.23.58-9.2
> mysqlclient14-devel-4.1.14-4.2
> mysqlclient10-3.23.58-9.2
>
> This means that for some reason I have two developmenHi
Thanks for the information. Verify seems to be working well. But when I
tried to see what exactly in installed there I found something interesting
$ rpm -qa | grep mysqlclient
mysqlclient14-4.David Sevier wrote
>
> I guess I 'll just dig through it some more. Or just give up and see if I can
> get ODBC to work instead.
You 're not the first to try using MySQL++ with VS Express nor would I am using Express perhaps that 's the problem.
There isn 't any errors above that although from what a google search said
that does look like the root problem. But since the examples work I 'm
thinkDavid Sevier wrote
>
> I built mysql++ did the install of the libraries and tested the sample
> code. Worked fine.
>
> I 'm now trying to work on my own project using mysql++ and I get these
> errJerry Ro wrote
> I am not sure - what do you refer to as "package manager verification "?
$ man rpm
$ man dpkg
$ man emerge
$ man pkgadd
$ man whateverpackagemanageryouareusing
Search for "verify ". Jim Wallace wrote
> I assume this is because when the BadQuery
> exception is constructed calls error() which calls mysql_error() but
> that clears out the errornum() (mysql_errno()).
Test this assuI 've had both of those included. Still no luck.
Thanks for the help though. I 've been banging my head on a wall the past
few days trying to figure this out.
Any other suggesions?
On 9/21/07 Jim WYou need to include C \Program Files\MySQL\MySQL Server 5.0\include in
the include path and lib\opt in the lib path.
I do this via Tools | Options | Projects | VC++ Directorys then set the
folder apErr. Sorry. No .cpp files in the include directory just .h
and one .def. Sorry to cause confusion.
On 9/21/07 David Sevier <latentknowledge@(protected) > wrote
>
> Well I do have the include directoWell I do have the include directory with loads of .h and .cpp files.
Would that be missing if
I didn 't do the Developer install? I 'm pretty sure I did...
On 9/21/07 Jim Wallace <jwallace@(protected)Any ideas? I just can 't think of what else to try!
Davd
--
MySQL++ Mailing List
For list archives http //lists.mysql.com/plusplus
To unsubscribe http //lists.mysql.com/plusplus?unsub 3Dmysql@(protected)You must not have the MySQL Developer files installed or not have them
in your include path. If installed they are in C \Program
Files\MySQL\MySQL Server 5.0\include
If not installed you can re-runAny ideas? I just can 't think of what else to try!
Davd
------ _Part_12272_9250.1190398911746--
Hi
I 've got one of those really frustrating issues.
I built mysql++ did the install of the libraries and tested the sample
code. Worked fine.
I 'm now trying to work on my own project using mysqlI am not sure - what do you refer to as "package manager verification "?
On 9/19/07 Warren Young <mysqlpp@(protected) > wrote
>
> Jerry Ro wrote
> >
> > No I also get the error for say resetdb You actually have to open the .dsw file (Visual C+ 6.0 workspace) the
first time which also opens all of the .dsp (project files) and then it
is converted by Visual Studio 2005 to a .sln file (VisualHi
Yesterday I made a mistake when subscribing plusplus mailing list (I chose
plusplus-plain-digest list). Probably because of that your answer didn 't
come to my e-mail and I can 't answer you by I want to catch a dupe key error in my code using con.errnum(). I use
exceptions for everything and would like to use them but the errnum()
in the catch is always zero. I assume this is because whe Thank 's Warren this 's information that i need.
Thank 's every body.
----- Original Message -----
From Warren Young
To MySQL++ Mailing List
Sent Thursday September 20 2007 5 23 AMAntero Markkanen wrote
> We are using MySQL++-2.2.3.
Do you mean 2.3.2 or are you really using an old version?
> following error at linking phase. LINK FATAL ERROR LNK1104 CANNOT OPEN
> FILE "mI and my brother have problem when compiling a project witht MySQL++. I have
installed MySQL 5.0.41 (WinXP) and it 's working well. We are using
MySQL++-2.2.3. Compiling sample1 project using Visual StMandy Llanes wrote
> I want recovery information for all tables of a database. With
> mysqlpp Connection i have the conection to database but how i can
> recovery all information for their tables ( |
|
 |