Welcome Guest, Not a member yet? Register   Sign In
SQLite connect
#3

Thank you, I've solved it. It seem to be the file permission!

(03-01-2015, 01:37 PM)ngangchill Wrote: try this:    


$db['sqlite'] = array(
   'dsn'    => '/Users/dudan/Documents/db_sqlite/db.jokes.sqlite',
   'hostname' => '',
   'username' => '',
   'password' => '',
   'database' => ''
   'dbdriver' => 'pdo'
   'dbprefix' => '',
   'pconnect' => FALSE,
   'db_debug' => TRUE,
   'cache_on' => FALSE,
   'cachedir' => '',
   'char_set' => 'utf8',
   'dbcollat' => 'utf8_general_ci',
   'swap_pre' => '',
   'autoinit' => TRUE,
   'encrypt' => FALSE,
   'compress' => FALSE,
   'stricton' => FALSE,
   'failover' => array(),
   'save_queries' => TRUE
);




it is.working fine in my projects...
Reply


Messages In This Thread
SQLite connect - by mrdan32 - 03-01-2015, 12:24 PM
RE: SQLite connect - by ngangchill - 03-01-2015, 01:37 PM
RE: SQLite connect - by mrdan32 - 03-02-2015, 12:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB