daily pastebin goal
59%
SHARE
TWEET

Untitled

a guest Aug 15th, 2018 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Using SQLite3 with CakePHP 2.0
  2. public $default = array(
  3.     'datasource' => 'Database/Sqlite',
  4.     'persistent' => false,
  5.     'host' => 'localhost',
  6.     'login' => '',
  7.     'password' => '',
  8.     'database' => 'cake_blog_tutorial',
  9.     'prefix' => '',
  10.     //'encoding' => 'utf8',
  11. );
  12.    
  13. public $default = array(
  14.         'datasource' => 'Database/Sqlite',
  15.         'persistent' => false,
  16.         'database' => 'database_name',
  17.         'prefix' => '',
  18.         //'encoding' => 'utf8',
  19. );
  20.    
  21. public $default = array(
  22.         'datasource' => 'Database/Sqlite',
  23.         'persistent' => false,
  24.         'database' => ':memory:',
  25.         'prefix' => '',
  26.         //'encoding' => 'utf8',
  27. );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top