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:
>
> ---------------------------fragment--------------------------------
>
> What is the password for the mySQL admin user?
>
> Is the choosen configuration correct?
> Protocol: ppp
> Local address: dynamic
> Local nets: 10.0.0.0
> Free users:
> mySQL server: localhost:3306
> mySQL admin user: root
> mySQL admin passwd: *******
>
> Okay? (Y/n)y
>
> Now, you can edit the file /etc/tcpquota/tcpquota.cf
> to fine tune you configuration, but it will work as is...
>
> Creating the tcpquota mySQL database... dpkg: error processing
> tcpquota (--configure):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> tcpquota
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> [EMAIL PROTECTED]:~$ su
> Password:
> sacrifice:~# tcpquotad
> sacrifice:~# DBI->connect(tcpquota:localhost:3306) failed: Access
> denied for user: '[EMAIL PROTECTED]' (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