Guest User

Untitled

a guest
Aug 15th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  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. );
Add Comment
Please, Sign In to add comment