Yii Migration connectionString

I’m trying to run:

./protected/yiic migrate new

But keep getting:

CDbConnection.connectionString cannot be empty

In my main.php config file:




'db'=>array(

        'class'=>'CDbConnection',

	'connectionString' => 'mysql:host=localhost;dbname=mydb',

        ...

),



In my console.php config file:




'commandMap'=>array(

        'migrate'=>array(

            'class'=>'system.cli.commands.MigrateCommand',

            'migrationPath'=>'application.migrations',

            'migrationTable'=>'tbl_migration',

            'connectionID'=>'db',

            'templateFile'=>'application.migrations.template',

        ),

 ),



Am I missing something?

Nevermind… I just put the ‘db’ component settings in console.php and that did the trick