1 <?php
defined('SYSPATH') OR die('No direct access allowed.');
5 * Database connection settings, defined as arrays, or "groups". If no group
6 * name is used when loading the database library, the group named "default"
9 * Each group can be connected to independently, and multiple groups can be
13 * benchmark - Enable or disable database benchmarking
14 * persistent - Enable or disable a persistent connection
15 * connection - Array of connection specific parameters; alternatively,
16 * you can use a DSN though it is not as fast and certain
17 * characters could create problems (like an '@' character
19 * 'connection' => 'mysql://dbuser:secret@localhost/kohana'
20 * character_set - Database character set
21 * table_prefix - Database table prefix
22 * object - Enable or disable object results
23 * cache - Enable or disable query caching
24 * escape - Enable automatic query builder escaping
26 $config['default'] = array
29 'persistent' => FALSE,
35 'host' => 'localhost',
38 'database' => 'kohana'
40 'character_set' => 'utf8',