Changeset 2525 for trunk/system/config/database.php
- Timestamp:
- 04/17/2008 03:10:19 PM (7 months ago)
- Files:
-
- 1 modified
-
trunk/system/config/database.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/config/database.php
r2194 r2525 13 13 * benchmark - Enable or disable database benchmarking 14 14 * persistent - Enable or disable a persistent connection 15 * connection - DSN identifier: driver://user:password@server/database 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 18 * in a password): 19 * 'connection' => 'mysql://dbuser:secret@localhost/kohana' 16 20 * character_set - Database character set 17 21 * table_prefix - Database table prefix … … 24 28 'benchmark' => TRUE, 25 29 'persistent' => FALSE, 26 'connection' => 'mysql://dbuser:secret@localhost/kohana', 30 'connection' => array 31 ( 32 'type' => 'mysql', 33 'user' => 'dbuser', 34 'pass' => 'p@ssw0rd', 35 'host' => 'localhost', 36 'port' => FALSE, 37 'socket' => FALSE, 38 'database' => 'kohana' 39 ), 27 40 'character_set' => 'utf8', 28 41 'table_prefix' => '',
