nano /etc/my.cnf
and add the following: bind-address=127.0.0.1
this means it disable remote connections and therefore MySQL only works on your server and no-one else can use it for external programs, etc.
nano /etc/my.cnf
and add the following: bind-address=127.0.0.1
this means it disable remote connections and therefore MySQL only works on your server and no-one else can use it for external programs, etc.