Skip to content

Commit

Permalink
DB settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Vijar committed Jun 23, 2012
1 parent 1878669 commit 9945525
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions protected/config/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,17 @@
),
),
*/
'db'=>array(
'connectionString' => 'sqlite:'.dirname(__FILE__).'/../data/testdrive.db',
),
// 'db'=>array(
// 'connectionString' => 'sqlite:'.dirname(__FILE__).'/../data/testdrive.db',
// ),
// uncomment the following to use a MySQL database
/*
'db'=>array(
'connectionString' => 'mysql:host=localhost;dbname=testdrive',
'connectionString' => 'mysql:host=23.23.193.192;dbname=angelhack',
'emulatePrepare' => true,
'username' => 'root',
'password' => '',
'username' => 'angelhackher',
'password' => 'h4ckth1$',
'charset' => 'utf8',
),
*/
'errorHandler'=>array(
// use 'site/error' action to display errors
'errorAction'=>'site/error',
Expand Down

0 comments on commit 9945525

Please sign in to comment.