i am trying to connect to a remote database using the following code:
public $default = array(
'datasource' => 'Database/Mysql',
'persistent' => false,
'host' => '***.unoeuro-****.com',
'login' => '*********',
'password' => '**************',
'database' => '************',
'prefix' => '',
);
Now when i try this i get the following error message:
2013-09-13 16:10:55 Error: [MissingConnectionException] Database connection "Mysql" is missing, or could not be created.
Exception Attributes: array (
'class' => 'Mysql',
'message' => 'SQLSTATE[HY000] [2005] Unknown MySQL server host \'****.unoeuro-server.com\' (2)',
'enabled' => true,
)
Can anyone tell me why this is happening?