List:MySQL++« Previous MessageNext Message »
From:Marc-André Lavigne Date:June 10 2013 9:02pm
Subject:RE: Mysql connection is disconnected after a query in 64 bit
View as plain text  
Hi Mickael,

Finally, I realized that the problem was in the installation of my libraries, there was a
problem with the mysql rpm installation in 64 bit, so there were 2 mysql installed. I
just uninstall and reinstalled and now it works

Thanks!

M-A

-----Original Message-----
From: Mickael Wolff [mailto:mickael@stripped] 
Sent: June-05-13 4:17 PM
To: plusplus@stripped
Subject: Re: Mysql connection is disconnected after a query in 64 bit

On 06/05/2013 07:39 PM, Marc-André Lavigne wrote:

> mysqlpp::Connection* conn = mDataSource->GetConnection(); if(conn != 
> NULL&&  conn->connected()) {
>                  mysqlpp::Query query = conn->query(queryStr.c_str());
>                  LOG_ERROR(format("1------ IsConnected()=%1%") %
> conn->connected());
>                  query.storein(*result);
>                  success = query;
>                  LOG_ERROR(format("2------ IsConnected()=%1%") % 
> conn->connected()); }
>

   Can you please provide a full example with the command line to compile the example?

   And can you tell us how you did install MySQL++ (package manager, or
compiling/cross-compiling).

   The logging activity of mysqld could help as well.

-- 
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:    http://lists.mysql.com/plusplus



Thread
Mysql connection is disconnected after a query in 64 bitMarc-André Lavigne5 Jun
  • Re: Mysql connection is disconnected after a query in 64 bitMickael Wolff5 Jun
    • RE: Mysql connection is disconnected after a query in 64 bitMarc-André Lavigne10 Jun