Moved testdrive site to shared hosting account and get this error:
[color="#FF0000"][b]CDbConnection failed to open the DB connection: SQLSTATE[HY000] [2002] No such file or directory
/home/www/yii/framework/db/CDbConnection.php(381)[/b][/color]
config/main.php db settings are correct and double checked.
'db'=>array(
'connectionString' => 'mysql:host=localhost;dbname=wiziness_byii',
'emulatePrepare' => true,
'username' => 'wiziness_byii',
'password' => 'xxxxxx',
'charset' => 'utf8',
),
Generated the testdrive on my local machine running wamp, as I couldn’t run yiic on the shared host. Then uploaded the site and framework.
Any idea what the problem is?