[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [+ ou - HS] connexion mysql.



Le Mon, 21 Mar 2005 21:13:33 +0100
Alain Bertrand <alainbe@free.fr> 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 : 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?
> 

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



Reply to: