List:MySQL++« Previous MessageNext Message »
From:Hossein Younesi Date:October 1 2010 1:20pm
Subject:Re: Problem: Access denied for user 'root'@'localhost' (using
View as plain text  
I assumed that destructor will close the connection automatically! Is it
correct? If no, how can I close the connection?

Thanks

On Fri, Oct 1, 2010 at 4:34 PM, F.N. Bruggeman <
f.bruggeman@stripped> wrote:

> 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:
> http://lists.mysql.com/plusplus?unsub=1
>
>


-- 
Hossein Younesi Vaghar

Thread
Problem: Access denied for user 'root'@'localhost' (using password: NO)Hossein Younesi1 Oct
  • RE: Problem: Access denied for user 'root'@'localhost' (using password: NO)F.N. Bruggeman1 Oct
Re: Problem: Access denied for user 'root'@'localhost' (usingpassword: NO)Hossein Younesi1 Oct
  • Re: Problem: Access denied for user 'root'@'localhost' (using password: NO)Warren Young1 Oct