Bug Report #1293

config/database.php is not compatible with the new Database class in 2.4

Added by Samuel Vogel almost 3 years ago. Updated almost 3 years ago.

Status:Closed Start date:
Priority:High Due date:
Assignee:John Heathco % 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 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

Also available in: Atom PDF