Changes to database config keys in RC1

There are a few important changes in the database configuration, which I wanted to quickly point out:

1. ‘connect’ key is gone.
For example, if you had ‘connect’ => ‘mysql_connect’ you will need to replace it with ‘driver’=>’mysql’

2. New key: ‘persistent’=>false
This one is very important and you definitely want to add it to your configuration file.
It had caused me some pain, before I noticed this ticket:
https://trac.cakephp.org/ticket/4873

 

Related Posts

%d bloggers like this: