Could anyone help me in that?
I was using Yii to build my website which use database on server 188.8.131.52…
I moved my website to another server in different hosting company but when i tried to access database i got this error
CDbConnection failed to open the DB connection: SQLSTATE[HY000]  Lost connection to MySQL server at ‘reading initial communication packet’, system error: 111
this is my connection settings in the main.php file
'connectionString' => 'mysql:host=184.108.40.206;dbname=postrecc_postrec', 'emulatePrepare' => true, 'username' => 'username', 'password' => 'password', 'charset' => 'utf8', ),