I have also had problems with installing mantisbt over db2, but found a work around. Attached is an sql script. It is a modified script that mantis uses to install the tables. What u will need to do is run the script to install the tables manually. The schema is predefined in the script as 'MANTISDB', but you can change this to whatever you want. The next step involves crteating the 'config_inc.php' manually and pasting it in your mantis directory. This file should contain your desired credentials for mantis:
<?php
$g_hostname = 'your_db_host'; e.g B002BF95
$g_db_type = 'db2';
$g_database_name = 'same_as_ur_host_name'; e.g B002BF95
$g_db_username = 'your_as/400_username';
$g_db_password = 'your_as/400_password';
$g_db_schema = 'schema_created_by_the_sql_script'; e.g default is 'MANTISDB'
?>
The final thing you need to do is edit the file:
mantis\directory\library\adodb\adodb.inc.php, and change the sentence
define('ADODB_FETCH_ASSOC',2);
to
define('ADODB_FETCH_ASSOC',0);
Note: The last step is very important in ensuring that mantis installs successfully. Also note that at no point in time are you using
http://your/mantis/directory/admin/install.php. The sql script replaces the need for this.
After completing these steps point your browser to
http://your/mantis/directory/login_page.php
You should now have a running mantis application.
Note: These steps were tested for installing MantisBT-1.2.11 over db2 for IBM i V7R1.