Aug 252011
Disable MySQL server from listening for TCP/IP connections
Answer:
If you only connect to the MySQL server from localhost and you might want to disable TCP/IP networking feature so the server is more secure.
To do so, edit the MySQL configurations, e.g. /etc/my.cnf
..
skip-networking
..
Don't forget to restart MySQL to take effect.
# /sbin/service mysqld restart