My server's error log says:
PHP Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: User db123456 already has more than 'max_user_connections' active connections in /qa-include/qa-db.php on line 66
This error appeared yesterday, 20-Oct-2012, from 18:50:17 to 18:51:01 (about 3 times per second), and 18:53:40 to 18:53:47 (about 3 times per second).
--
On stackoverflow they say it is "not a programming problem, just quantity of resources available".
But why haven't I got this error over the last 7 months?
--
Update 2012-12-14
My server logs showed me that a Chinese bot was going over a lot of tags, which obviously caused the error, here some lines:
[11-Dec-2012 18:58:39] PHP Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: User 123456 already has more than 'max_user_connections' active connections in /qa-include/qa-db.php on line 66
42.62.36.25 - - [11/Dec/2012:18:58:39 +0100] "GET /tag/schaubid HTTP/1.0" 200 6491 "http://www.mysite.de/" "Moziella/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.1.2) Firefox/3.5.2"
42.62.36.25 - - [11/Dec/2012:18:58:39 +0100] "GET /tag/sattelpunkt HTTP/1.0" 200 647 "http://www.mysite.de/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.1.2) Firefox/3.5.2"
42.62.36.25 - - [11/Dec/2012:18:58:39 +0100] "GET /tag/binomisch HTTP/1.0" 200 647 "http://www.mysite.de/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.1.2) Firefox/3.5.2"
...
How to solve/prevent this?