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
Van: Hossein Younesi [mailto:hosseinyounesi@stripped]
Verzonden: vrijdag 1 oktober 2010 14:53
Onderwerp: Problem: Access denied for user 'root'@'localhost' (using password: NO)
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?
Hossein Younesi Vaghar