I have havy loaded site with 5 mln. hits per day. I use Apache and mod_perl . Every 15-20 minutes I see in error_log this error:
DBI connect('softsearch;mysql_socket=/tmp/softsearch.sock','softsearch',...) failed: Access denied for user 'softsearch'@'localhost' (using password: NO) at Engine.pm line 3086
The connection code:
3086 my $dbh_ = DBI->connect('DBI:mysql:softsearch;mysql_socket=/tmp/softsearch.sock','softs earch','xxxxxxxxxxx');
How can I solve this problem?
Use privilege info that is valid :) Mayeb raise you max connection in you mysql conf
See mysql.com for "privileges" and "max connection"
Not really a Perl issue :)