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

Re: MySQL question



AJ>> According to the docs, MySQL listens for outside connections.
AJ>> I'm going to use MySQL from the localhost, and I don't want it
AJ>> to bind to the eth interface. Is there a way to restrict it to
AJ>> the loopback interface?

In /etc/my.cnf:

[mysqld]
skip-networking

Prevents mysql from listening to network, only listens to socket.
-- 
frodo@sharat.co.il	\/  There shall be counsels taken
Stanislav Malyshev	/\  Stronger than Morgul-spells
phone +972-3-9316425	/\  		JRRT LotR.
http://sharat.co.il/frodo/	whois:!SM8333



=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il