Hi
I’m using MAMP.
I’m trying to learn how to do migration in yii and I have encountered a problem.
When I type in the terminal
I get this
in my main.php is this
'db'=>array(
'connectionString' => 'mysql:host=localhost;dbname=trackstar',
'emulatePrepare' => true,
'username' => 'root',
'password' => '*****',
'charset' => 'utf8',
),
and in my console.php is this
'db'=>array(
'connectionString' => 'mysql:host=localhost;dbname=trackstar',
'emulatePrepare' => true,
'username' => 'root',
'password' => '*****',
'charset' => 'utf8',
),
in my yiic.php is this
$yiic=dirname(__FILE__).'/../../yii/framework/yiic.php';
$config=dirname(__FILE__).'/config/console.php';
require_once($yiic);
I have not move any files around so I didn’t change the paths.