I assumed that destructor will close the connection automatically! Is it
correct? If no, how can I close the connection?
On Fri, Oct 1, 2010 at 4:34 PM, F.N. Bruggeman <
> Sounds to me you set the maximum number of allowed connections too low in
> your my.ini (either the global setting or for the user) and/or you're not
> disconnecting the connections.
> Kind regards,
> Freddy Bruggeman
> -----Oorspronkelijk bericht-----
> Van: Hossein Younesi [mailto:hosseinyounesi@stripped]
> Verzonden: vrijdag 1 oktober 2010 14:53
> Aan: plusplus@stripped
> Onderwerp: Problem: Access denied for user 'root'@'localhost' (using
> password: NO)
> Hi everyone,
> I'm using mysqlpp on ubuntu 10.04 with mysql 5.1. my program is a multi
> threaded one, after each client request it connects to mysql through
> mysqlpp, executes some queries and sends the result back to client. So
> mysqlpp is used simultaneously between threads. Problem is that when number
> of requests increases (more that 10 in a sec) , This error appears:
> "Access denied for user 'root'@'localhost' (using password: NO)"
> What's wrong? Connection limitation? Executing limitation?
> Thanks b4
> Hossein Younesi Vaghar
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe:
Hossein Younesi Vaghar