I have offline application (installed in localhost) but database in online server.. because i want to make something like synchronizer...
I've tried to set my database.php like this
'mysqlserver' => array(
'host' => '103.38.103.142',
'port' => '212',
'driver' => 'mysql',
'database' => 'lgspsb',
'username' => 'xxxxxxx',
'password' => 'xxxxxxx',
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
),
but error like this...
SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 0
How I can't fix that? thanks before... and sorry for my bad english
Aucun commentaire:
Enregistrer un commentaire