Configuration
prev
next
Content
Overview
Blubb
Database configuration
The configuration of the database connection is done in the cfg/cfg.system.php file. The connection is defined by the $cfg['db']* settings:
- $cfg['db']['dsn']
The database server connection - $cfg['db']['user']
The username if required - $cfg['db']['passwd']
The password if required
Database Server Name (DSN) Strings:
- Microsoft SQL
Using the mssql-Extension:mssql:SERVERNAME[\Instancename]/DATABASENAME
- MySQL
Using the mysql-Extension:mysql:SERVERNAME[:PORT]/DATABASENAME
Using the mysqli-Extension:mysqli:SERVERNAME[:PORT]/DATABASENAME
Using the pdo_mysql-Extension:pdo:mysql:host=SERVERNAME[:PORT];dbname=DATABASENAME
- PostgreSQL
Using the pgsql-Extension:postgre:SERVERNAME[:PORT]/DATABASENAME
Using the pdo_postgre-Extension:pdo:pgsql:host=SERVERNAME[:PORT];dbname=DATABASENAME