I have been trying to get yii for a week now, with no joy. After stumbling through the perils of yiic and finally getting a test site up and running, I thought I might have success. Wrong! Now its a database connection issue. I have read through all the posts in this regard but cannot find a solution. Here is the code I have in my main.php ( the username and password have been changed to protect the innocent.)
‘db’=>array(
'connectionString' => 'mysql:host=localhost;dbname=tracker',
'emulatePrepare' => true,
'username' => 'myuser',
'password' => 'mypass',
'charset' => 'utf8',
),
I am so frustrated that I am almost considering cakePHP because I at least can get a db running. help…
Thanks,
Adrian