title: codeigniter database cache configuration
body: <p>I'm unable to configure database cache to my system. I've tried every configuration that available in internet . please help me out.</p>
  
  <pre><code>$db['default'] = array(
  'dsn'   =&gt; '',
  'hostname' =&gt; 'localhost',
  'username' =&gt; 'root',
  'password' =&gt; '123',
  'database' =&gt; 'test',
  'dbdriver' =&gt; 'mysqli',
  'dbprefix' =&gt; '',
  'pconnect' =&gt; FALSE,
  'db_debug' =&gt; TRUE,
  'cache_on' =&gt; TRUE,
  'cachedir' =&gt; 'application/cache',
  'char_set' =&gt; 'utf8',
  'dbcollat' =&gt; 'utf8_general_ci',
  'swap_pre' =&gt; '',
  'encrypt'  =&gt; FALSE,
  'compress' =&gt; FALSE,
  'stricton' =&gt; FALSE,
  'failover' =&gt; array(),
      'save_queries' =&gt; TRUE
  );
  </code></pre>
  
  <p>Below is the error message that i'm getting</p>
  
  <p>An uncaught Exception was encountered</p>
  
  <p>Type: Exception</p>
  
  <p>Message: Configured database connection has cache enabled. Aborting.</p>
  
  <p>Filename: C:\wamp\www\test\system\libraries\Session\drivers\Session_database_driver.php</p>