Chapter 3 - Using The Interactive Shell


I’m totally lost, and I don’t know what to do.

After installing Xampp + Yii framework, I create a database called ‘trackstar’ and then, when I type in the yiic shell the command >>Yii::app()->db->connectionString; I receive the following error msg:

exception ‘CDbException’ with message ‘CDbConnection failed to open the DB connection: could not find driver’ in /opt/lampp/htdocs/yiiframework/framework/db/CDbConnection.php:381

What should I do?