Cdbconnection Failed To Open The Db Connection:

Hello,

Im getting below error.

Connection failed to open the DB connection: SQLSTATE[28000] [1045] Access denied for user ‘root’@‘localhost’ (using password: NO)

/home/xyz/public_html/yii/framework/db/CDbConnection.php(382)

Main.php file details:-

db’=>array(

                    'connectionString' => 'mysql:host=127.0.0.1;port=3306;dbname=xyz_pqr',


                    'emulatePrepare' => true,


                    'username' => 'root',


                    'password' => '',


                    'charset' => 'utf8',

Software details:-

CentOS release 6.3 (Final)

Apache/2.2.23

PHP 5.3.21

mysql 5.1.66

VPS on virtuozzo with cpanel.

Please guide/suggest me on the same.

Thanks,

Imran.