Product SiteDocumentation Site

5.2. 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 are listed in the table below.
The PHP extension corresponding to the selected type must be enabled (see also Section 2.2.2.1, “Versions compatibility table”).
RDBMSdb_type (ADOdb)PHP extensionComments
MySQLmysqlimysqlidefault
mysqlmysqlDeprecated as of PHP 5.5.0
PostgreSQLpgsqlpgsql 
MS SQL Servermssqlnativesqlsrv 
Oracleoci8oci8 
IBM DB2db2db2experimental