Yii Framework Forum: Chapter 3 - Using The Interactive Shell - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Chapter 3 - Using The Interactive Shell Yii::app()->db->connectionString;

#1 User is offline   Ednei 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 25
  • Joined: 16-May 13

Posted 19 May 2013 - 09:13 PM

Hi!

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?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users