[Dbconfig-common-devel] Policy for database administrator

Daniel Dehennin daniel.dehennin at baby-gnu.org
Mon Feb 1 13:00:16 UTC 2010


Le 5769 Septembre 1993, Daniel Dehennin a envoyé:
> Le 5769 Septembre 1993, Daniel Dehennin a envoyé:
>>> what problem are you having exactly?
>>
>> My problem is installing an application without user interraction when
>> the mysql root password is random and not stored.
>>
>> I get an error when populating the database:
>> I get an error when populating the database:
>> --8<---------------cut here---------------start------------->8---
>> ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
>> --8<---------------cut here---------------end--------------->8---
>> Retry does not prompt me for a new password if debconf priority is not
>> sufficiently low.
>
> Another problem is that the mysql root password is stored for my
> application in "ocsinventory-server ocsinventory-server/mysql/admin-pass".
>
> If I change the root password and store it in "dbconfig-common
> dbconfig-common/mysql/admin-pass" (using debconf-set-selections), when I
> purge the package (with 
> "ocsinventory-server ocsinventory-server/dbconfig-remove boolean true" and
> "ocsinventory-server ocsinventory-server/purge boolean true"), then the
> remove fail due to wrong password.

Any idea for this issue?

Regards.
-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/dbconfig-common-devel/attachments/20100201/1bfa3dd3/attachment.pgp>


More information about the Dbconfig-common-devel mailing list