I'm following the steps in setting up my Yii application, and have encountered the following error in connecting to the database:
CDbConnection failed to open the DB connection: SQLSTATE[HY000]  Can't connect to MySQL server on '192.168.0.1' (13)
Here are the parameters I've set up for the db array:
'db'=>array( 'connectionString' => 'mysql:host=192.168.0.1;port=3306;dbname=Sandbox;', 'emulatePrepare' => true, 'username' => 'username', 'password' => 'password', 'charset' => 'utf8', ),
I have changed the array on main.php and console.php. I've tried it with/without the "unix_socket" parameter as well with no luck.
I'm lost on what to try next. Any help is appreciated.