You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by ����ۣ� ������ <po...@softsearch.ru> on 2005/02/26 23:19:51 UTC

connection error

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?

Michael Monashev, SoftSearch.ru
Member of Independent Software Developers Forum (ISDEF)
http://softsearch.ru/




Re: connection error

Posted by "JupiterHost.Net" <ml...@jupiterhost.net>.
> 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 :)