Most of the web applications are assisted by databases. test-drive application is not an exception. For database, we need to see the application where and how to connect it. This is done through the application configuration file WebRoot/testdrive/protected/config/main.php, the following code represent the connectivity to the database,
return array(
……
‘components’=>array(
……
‘db’=>array(
‘connectionString’=>’sqlite:protected/data/testdrive.db’,
),
),
……
);