The mantis.postinst script has another failure : it does not use the configured database name.

My /etc/mantis/config.php :

<?php
   
    # --- database variables ---------
    $g_hostname      = 'localhost';
    $g_db_username   = 'mantis';
    $g_db_password   = '******';
    $g_database_name = 'ccsupport';

....

I set up the database as "ccsupport" and not the default "bugtracker"....

Last run of dpkg --configure -a :

Setting up mantis (0.19.4-3) ...
I: Using password from existing config file.
I: Restarting webservers: apache2
Rotated `/var/backups/mantis.dump' at Thu Mar 23 18:01:44 CET 2006.
I: Backing up database to /var/backups/mantis.dump.
mysqldump: Got error: 1044: Access denied for user: '[EMAIL PROTECTED]' to database 'bugtracker' when selecting the database
E: Database backup failed (error 2). Bailing out.
dpkg: error processing mantis (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
mantis


Regards,
Michel


This e-mail is intended only for the above addressee. It may contain
privileged information. If you are not the addressee you must not copy,
distribute, disclose or use any of the information in it. If you have
received it in error please delete it and immediately notify the sender.
Security Notice: all e-mail, sent to or from this address, may be
accessed by someone other than the recipient, for system management and
security reasons. This access is controlled under Regulation of
Investigatory Powers Act 2000, Lawful Business Practises.

Reply via email to