Cdbconnection Failed - Please Help

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


config/main.php db settings are correct and double checked.


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


plz refer to