User Tools

Site Tools


  Main   About   Help   Download
nconf:help:documentation:detail:database_configuration

Database configuration

The following configuration options are available under config/mysql.php:

MySQL connection

  • MySQL specific options must be defined during installation.

DBHOST

The hostname or IP address of the MySQL database server.

Usage: "hostname[[:port]]" or "IP[[:port]]"
Default value: "localhost"

If MySQL runs on “localhost” but on a different port, you should use “127.0.0.1:port” instead.

For more information about the handling of “localhost” in php-mysql, see the PHP manual


Whenever you specify “localhost” or “localhost:port” as server, the MySQL client library will override this and try to connect to a local socket (named pipe on Windows). If you want to use TCP/IP, use “127.0.0.1” instead of “localhost”. If the MySQL client library tries to connect to the wrong local socket, you should set the correct path as runtime Configuration in your PHP configuration and leave the server field blank.

DBNAME

The name of the MySQL database for NConf.

Default value: "NConf"

DBUSER

The name of the database user. The user must have “SELECT, INSERT, UPDATE, DELETE, CREATE, ALTER, DROP” privileges on DBNAME.*

Default value: "nconf"

DBPASS

The password for DBUSER.


nconf/help/documentation/detail/database_configuration.txt · Last modified: 09.12.2011 01:48 (external edit)