I have joined a site where they are requiring people to pay to solve this problem... they want to hire someone that will fix the problem, though if I could find the answer and post it on the main forums, then they will not have their strangle hold on the people that value this site.

During the online time periods the site comes under attack by the following scrips in the posting area:

Warning: mysql_connect() [function.mysql-connect]: Too many connections in

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in

Warning: mysql_query() [function.mysql-query]: Access denied for user 'XXXXXX'@'localhost' (using password: NO) in

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in

These are the problems that keep popping up over and over in quick succession of one another. I have a theory that it could be the fact that the IP address is not labeled in the correct area. Though if anyone could help I would greatly appreciate it.