Configuration

Database

The database settings must be set in order for the package to work properly. These settings should be provided to you by your system administrator or your hosting company.

$g_hostname

Host name or connection string for Database server. The default value is localhost. For MySql, this should be hostname or hostname:port (e.g. localhost:3306).

$g_db_username

User name to use for connecting to the database. The user needs to have read/write access to the MantisBT database. The default user name is "root".

$g_db_password

Password for the specified user name. The default password is empty.

$g_database_name

Name of database that contains MantisBT tables. The default name is 'bugtracker'.

$g_db_schema

The database schema (used in case of DB2), otherwise should be left blank.

$g_db_type

The supported database types include: 'mysql' or 'mysqli' for MySQL, 'pgsql' for PostgreSQL, 'mssql' for MS SQL Server, 'oci8' for Oracle, and 'db2' for DB2. It is important to make sure that the PHP extension corresponding to the database type is enabled.