Re: TCPQuota. possible bug?
On Wed, 15 Aug 2001 06:50:04 +0200, in linux.debian.user you wrote:
>On 14 Aug 2001 22:58:09 +0100, Nick Avenell wrote:
>> I tried to install TCPQuota on my woody box (sacrifice) tonight, and
>> couldn't. This is what happened:
*snip*
>> sacrifice:~# tcpquotad
>> sacrifice:~# DBI->connect(tcpquota:localhost:3306) failed: Access
>> denied for user: 'root@localhost' (Using password: NO) at
>> /usr/sbin/tcpquotad line 376
>It appears that the script is not giving the correct option/password to
>mysql because the log says Using password: NO. What does line 376 look
>like?
>--mike
---------fragment of /usr/sbin/tcpquotad --------------
######################################################################
#
# proc: init_sql_server()
#
# Open a connection to the SQL database...
#
sub init_sql_server {
undef( $dbh );
# Open up the database connection...
$dbh = DBI->connect("dbi:$cf{'ENGINE'}:tcpquota:$cf{'SERVER'}");
-------------------end fragment------------------------
(Last line is 376)
Yours in total sincerity,
Nick Avenell
--
From is valid, Sender is better.
Never underestimate the power of a dark clown.
Reply to: