can't connect to mysql server 110
Bonjour.
Quand j'essaye de me connecter en sql à partir d'une Machine Virtuelle VM1 du site OVH sur une autre VM VM2 du site OVH, j'ai l'erreur suivante (xxxx cache le mot de passe):
Citation:
(17:40:25) root@vm1-ovh:~# mysql -h adresse_IP_VM2 -u replication_user -pxxxxxxx -P 3306
ERROR 2003 (HY000): Can't connect to MySQL server on '91.121.239.234' (110)
La connexion mysql interne dans la VM_2 est OK
Citation:
(17:40:35) root@vm2-ovh:~# mysql -u replication_user -pxxxxx -P 3306
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 18242
Server version: 5.1.73-1-log (Debian)
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
NB: la connexion à cette VM à partir d'une machine qui se situe sur mon réseau local (pas sur OVH) est OK.
Citation:
(17:42:35) root@vm3-locale:~# mysql -h adresse_IP_VM2 -u replication_user -pxxxxx -P 3306
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 18247
Server version: 5.1.73-1-log (Debian)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
Il est à préciser que'il n'y a pas de firewall qui bloque au niveau de cette VM2
Avez vous une idée pour résoudre ce problème.
Si nécessaire, je vous enverrai des extraits des fichiers de config.