<?php defined('SYSPATH') or die('No direct access allowed.');
return array
(
'default' => array
'type' => 'MySQL',
'connection' => array(
/**
* The following options are available for MySQL:
*
* string hostname server hostname, or socket
* string database database name
* string username database username
* string password database password
* boolean persistent use persistent connections?
* Ports and sockets may be appended to the hostname.
*/
'hostname' => 'localhost',
'database' => 'database',
'username' => 'username',
'password' => 'password',
'persistent' => FALSE,
),
'table_prefix' => '',
'charset' => 'utf8',
'caching' => FALSE,
'profiling' => TRUE,
'alternate' => array(
'type' => 'pdo',
* The following options are available for PDO:
* string dsn Data Source Name
'dsn' => 'mysql:host=localhost;dbname=kohana',
'username' => 'root',
'password' => 'r00tdb',
* The following extra options are available for PDO:
* string identifier set the escaping identifier
);
?>