Ver Mensaje Individual
  #4 (permalink)  
Antiguo 24/02/2012, 17:01
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: Unknown MySQL server host 'Resource id #3' (11004) i

Código PHP:
Ver original
  1. // HAVE TRIED THIS
  2. $host_mysql = '127.0.0.1';
  3.  
  4. // HAVE TRIED THIS
  5. $host_mysql = $ssh_tunnel;
  6.  
  7. $cid_mysql = mysql_connect($host_mysql,$usr_mysql,$pwd_mysql);

Eso esta mal, el primer parámetro para MySQL debe de ser el host, tienes que usar algo como 'localhost' o la ip del host, no puedes pasarle tu conexión SSH.

Saludos.