X-Git-Url: http://git.maemo.org/git/?p=speedfreak;a=blobdiff_plain;f=Server%2Fsystem%2Fconfig%2Fdatabase.php;fp=Server%2Fsystem%2Fconfig%2Fdatabase.php;h=6519156aea51cb8cafcf08300017078f49b7076b;hp=0000000000000000000000000000000000000000;hb=b6e210d698acb6872a1b1badccc2d83ad9b635c7;hpb=aec1432898504016de3fb769b27ad4b8ca4224fc diff --git a/Server/system/config/database.php b/Server/system/config/database.php new file mode 100644 index 0000000..6519156 --- /dev/null +++ b/Server/system/config/database.php @@ -0,0 +1,45 @@ + 'mysql://dbuser:secret@localhost/kohana' + * character_set - Database character set + * table_prefix - Database table prefix + * object - Enable or disable object results + * cache - Enable or disable query caching + * escape - Enable automatic query builder escaping + */ +$config['default'] = array +( + 'benchmark' => TRUE, + 'persistent' => FALSE, + 'connection' => array + ( + 'type' => 'mysql', + 'user' => 'dbuser', + 'pass' => 'p@ssw0rd', + 'host' => 'localhost', + 'port' => FALSE, + 'socket' => FALSE, + 'database' => 'kohana' + ), + 'character_set' => 'utf8', + 'table_prefix' => '', + 'object' => TRUE, + 'cache' => FALSE, + 'escape' => TRUE +); \ No newline at end of file