Database Connection Configuration

Seme Framework has ability for open connection to database.

Database connection configuration existed on $db array values, separated by 7 keys.

$db['host']

The hostname or IP Address value of database server connection.

$db['user']

The user value of database server connection.

$db['pass']

The password value of database server connection.

$db['name']

The name of database using by database server connection.

$db['port']

The connection port used by database server connection. Default value is $db['port'] = '3306';.

$db['charset']

The character set used by database server connection. The value can be latin1 or utf8.

$db['engine']

The framework database engine. In version 4 only MySQLi is available, so the default value is $db['engine'] = 'mysqli';.