- Accueil
- » Forum
- » Serveurs
- » SSH et SQLyog
Pages : 1
#1 Le 25/08/2006, à 20:32
- Sandy
SSH et SQLyog
Bonjour
Ubuntu 5.10, Apache2, Mysql5 sur un LAN
J'accède habituellement à mes bd au moyen de SQLyog à partir de ma station XP sur le LAN.
Depuis la dernière maj la connexion est refusée.
Voici l'erreur retournée
Error 2013
Lost connection to mysql server during query
Webyog donne ceci pour cette erreur
*****
If MySQL port is wrong result is MySQL client error 2013 "Lost connection
...".
Note that this error also occurs if port forwarding is disabled in SSH
configuration (the configuration parameter 'AllowTcpForwarding' is set to
'no' in the 'sshd_config' file). It (here) simply tells that there is no
connection from SSH to MySQL for some reason. But the mySQL client API
'thinks' there was one connection and that is why is says 'Lost connection
...' and not 'Can't connect ..'. There was one successfull connection - but
not to the MySQL server - to the SSH daemon only! But the MySQL client API
is not designed to 'see' the difference!
*********
A tout hazard j'ai même ajouté AllowTcpForwarding yes dans sshd_config mais sans résultat.
La dernière maj a touché LAMP mais je n'ai pas suivi le processus.
La maj aurait-elle modifié des ports ou quelque chose du genre ?
SQLyod fait du ssh tunnelling mais aussi du httptunnelling. Tout marche avec ce dernier mais je préfèrerais le ssh et surtout savoir pourquoi ce problème.
Quelque chose à modifier que je devrais savoir ?
Merci
Dernière modification par Sandy (Le 25/08/2006, à 20:36)
Hors ligne
#2 Le 26/08/2006, à 02:53
- Sandy
Re : SSH et SQLyog
Raison: La MAJ écrase /etc/my.cnf et met skip-networking par défaut.
Solution: effacer skip-networking
ajouter bind-adress = 0.0.0.0
Hors ligne
Pages : 1