OVH Cloud OVH Cloud

[+ ou - HS] connexion mysql.

2 réponses
Avatar
Alain Bertrand
Bonjour,

J'ai un serveur mysql qui tourne sur ma machine. phpmyadmin s'y connecte
sans problème, ainsi qu'un certain nombre de programmes qui utilisent
les drivers qt.
Maintenant, si je fait telet localhost 3306 : "connection refused" alors
que telnet localhost 80 est OK.
dans /etc/hosts.allow j'ai

ALL : 127.0.0.1 LOCAL : ALLOW
#ALL : ALL@ALL : DENY

et dans dans /etc/hosts.deny
# The PARANOID wildcard matches any host whose name does not match its
# address.
ALL: PARANOID

Qu'est-ce qui ne va pas docteur?

Alain


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

2 réponses

Avatar
François Boisson
Le Mon, 21 Mar 2005 21:13:33 +0100
Alain Bertrand a écrit:

Bonjour,

J'ai un serveur mysql qui tourne sur ma machine. phpmyadmin s'y
connecte sans problème, ainsi qu'un certain nombre de programmes qui
utilisent les drivers qt.
Maintenant, si je fait telet localhost 3306 : "connection refused"
alors
que telnet localhost 80 est OK.
dans /etc/hosts.allow j'ai

ALL : 127.0.0.1 LOCAL : ALLOW
#ALL : : DENY

et dans dans /etc/hosts.deny
# The PARANOID wildcard matches any host whose name does not match its
# address.
ALL: PARANOID

Qu'est-ce qui ne va pas docteur?




ton mysql n'écoute pas sur un port internet et se contente d'une socket
unix (verification: netstat -xtaupl | grep mysql).

Pour modifier cela, commenter

skip-networking

dans /etc/mysql/my.cnf


François Boisson


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Alain Bertrand
François Boisson a écrit :

ton mysql n'écoute pas sur un port internet et se contente d'une socket
unix (verification: netstat -xtaupl | grep mysql).

Pour modifier cela, commenter

skip-networking

dans /etc/mysql/my.cnf


OK, merci, ça marche.


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact