MySQL on localhost only, not over the network

From Stack Overflow
Jump to: navigation, search
  • Add to /etc/my.cnf under the [mysql.server] section:
bind-address = 127.0.0.1

Also: can set it up as a domain (file-based) socket, but not all apps like this.

Personal tools