Bug Report #1293
config/database.php is not compatible with the new Database class in 2.4
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | High | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | Libraries:Database | |||
| Target version: | 2.4 | |||
| Resolution: | fixed | Points: |
Description
It should get fixed ;)
History
Updated by Kiall Mac Innes almost 3 years ago
I have no idea if this is correct - but it works for me ;)
$config['default'] = array
(
'benchmark' => TRUE,
'persistent' => FALSE,
'type' => 'mysql',
'username' => 'user',
'password' => 'pass',
'hostname' => 'server',
'database' => 'database',
'object' => TRUE,
'cache' => FALSE,
'escape' => TRUE,
'table_prefix' => ''
);
I'm adding this for more of a reference for anyone else looking to try out the 2.4 DB..
Updated by Kiall Mac Innes almost 3 years ago
Isaiah just pointed to me to this.. http://projects.kohanaphp.com/projects/kohana2/repository/entry/branches/2.4_new_db/modules/database/config/database.php
Updated by John Heathco almost 3 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
- Resolution set to fixed
Fixed in r4278, going back to 2.3.x style database config