  | | | MySQL++ | ?
Hi all
i 'm installting mysql using no install(i.e zip file) extracting them n making the my.ini(configuration file) installing the service with
--defalut option and starting the service using neHello
I have encountered similar build problems to those highlighted on the
list recently "vtable for mysqlpp xxx can 't be auto-imported.... ".
Specifically I am using
MySQL++ 2.1.1
MinGW g++ 3.hello all
actually i 'm using "mysql_real_connect " this api
to connect to server in network but unable to get
connected.
mysql_real_connect(&mySQLConnector "comp07 3306 " "root " "pwddb " "db_server " 0Hi all
my app needs a "persistent " connection to the db so I was thinking to do
something like this
1. connect to the db at program entry
2. before each db access call ping() to check the connectI installed mysql from Fink and tried to install mysql++. Running
./configure with the --with-mysql /sw option led to the following error
checking for MySQL library directory... configure error Dmy version is 4.17 at last year.
now is 5.0.18.
I install them in zip file at the same directory.
but use client_info() output 4.17
server_info is 5.0.18
I have updated service
--
gtalk freeespeequery.exec( "drop table schedule ")
it seem to be not work.
and I want to know if a DB is existing how to do
--
gtalk freeespeech@(protected)
--
MySQL++ Mailing List
For list archives http //listfollowing is error info
make.exe -f "D \project\C++\sql_dev\Makefile.win " all
g++.exe -c main.cpp -o main.o
-I "D /software/Dev-Cpp/include/c++/3.4.2 "
-I "D /software/Dev-Cpp/include/c++/3.4.2/ext "
-I "DHi
Inside Query there is a memory leak.
Please find the patch included that fixes this issue.
The reason is that you pass NOT the created memory but the address of
the reference.
Greetings
StHello
mysql++ 2.1.1
I have found 4 (!) bugs in 2 (!) minutes in platform.h.
1. mysql.h is included AFTER platform.h in all .cpp therefore
MYSQL_VERSION_ID is NOT defined in platform.h at Hi
I have some issues concerning the use of exceptions in the MySQL++ library
_ISSUE 1 _
When you have exceptions_ false in Result and you do
Result a query.store()
a.disable_exceptions() ?
hi
Need help in instering and reading audio vedio and image files in mysql database.Can any one help me on this?
HrishiI have a few large classes which I wish to save to a MySQL table. Currently
I am saving them to flat files using override > > and override < < with streams.
By large I mean 47+ variables/fields.
I 'm trHello
I am developing code that needs to create query objects often. There
seems to be a memory leak - memory not being released by the query
object when it goes out of scope. Is this a known issu
Hi
I wasn 't able to find much about this with a search. Is there any plan to implement the CLIENT_FOUND_ROWS MySQL optinon?
http //dev.mysql.com/doc/refman/5.0/en/mysql-affected-rows.html
Would Greetings
I 'm trying to use mysql++ 2.1.1 with the grid component of wxWidgets
2.6.3and with MySQL
5.0 on Windows XP Service Pack 2 with Visual Studio 2005 standard
I 'm working with this code no
Hello
I 've got the same problem than mazah_82
At the end of the block the program doesn 't terminate correctly
The program displays (cout)
1
2
But it stops before displaying 3
Here is my code
--
Hi
I have the following code
int main(int argc char *argv[])
{
Connection con(use_exceptions)
con.connect(/*put parameters here*/)
Query query con.query()
cout < < "Exiting.. " < < Hello
I 'm working with the 2.1.1 version of mysql++ getting data out of a 5.1.7 version of mysql proper.
In my code I have been assigning to a std string type the output from a row[] or row.aI can not build the library mysqlpp I see a makefile.vc but do not see the makemake.bat script anywhere.
From the makefile.vc
## ../makemake.bat script prepends this to Makefile.base to create a
#Hi
isn 't it possible to create several
mysqlpp Connections? Both of them use same db host
user. Code below doesn 't work.
class A {
A() {
mysqlpp Connection con
con mysqlpp ConnectLike in "stock.h " I create my own struct using
"sql_create_6(task 2 6
mysqlpp sql_int_unsigned uid
mysqlpp sql_datetime stime
mysqlpp sql_bigint_unsigned cid
mysqlpp sql_tinyint_unsiI have written a function into my program to delete items from a table.
This table has a auto_increment that is used as primairy key. This
function checks if the deleted numeber happens to be the lastHi everyone
I found in the archives a lot of problems about --enable-auto-import
where people found a solution but this is not my case. I tried to user
the API MySQL in C and MySQL++ in C++ butWe are trying to use the SSQLS functions for an insert into our
database but something with the macro is bugging us.. Here is what we
got
Code
/*
This is located in the beginning of the cpp file Andrea Fastame wrote
>
> make[1] *** No rule to make target `custom.pl ' needed by `custom.h '.
I just built MySQL++ 2.1.1 on my Mac with a similar configuration. Take
a look in MySQL++ 's lib sHere 's my make log
[andrea@(protected)][23 58]~/mysql++/build $ make
(cd lib && make all)
.././bk-deps g++ -c -o mysqlpp_coldata.o -I.. -dynamic -fPIC -DPIC -
I/usr/local/mysql/include/ -fno-cHi
i 've got a (simple) question
How can I get the result of following query?
query < < "SELECT MIN(EURO) from stock "
res query.store()
row *res.begin()
row[ "EURO "] or row[0] doesn ' work...
THi all
I 've setup mysql++ to work w/ my current project (a Half-life 2 mod). It
compiles with no errors. I run the command
mysqlpp Connection con(true)
try
{
if(!con.connect( "dbname " "hostHello
I 've looked a plethora of places for the current error I 'm running into a few of the answers touched on one specific method which I already had enabled -- but I 'm still crashing.
I have MyS |
|
 |