Pages : 1
#1 Le 03/01/2008, à 13:24
- regivanx
impossible de désactiver l'accès distant de mySQL
Bonjours,
Après avoir installer un serveur lamp, j'ai effectué la sécurisation de mySQL avec la commande :
sudo -i mysql_secure_installation
[...]
Normally, root should only be allowed to connect from 'localhost'. This
ensures that someone cannot guess at the root password from the network.
Disallow root login remotely? [Y/n] Y
... Success!
[...]
Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.
Reload privilege tables now? [Y/n]
... Success!
[...]
Cependant il est toujours possible de se connecter avec cet utilisateur à distance.
J'ai vérifié le fichier de configuration /etc/mysql/my.cnf et il est écrit :
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address = 127.0.0.1
Comment faire ?
Pages : 1