Jump to content

MySQL on CentOS: localhost or ?

Recommended Posts

When installing IPS, should i select localhost or

I've seen that in linux, mySQL localhost uses a pipe to communicate instead of TCP/IP protocol and that it should be faster than (In windows it seems that is faster than localhost due to ip resolution)

What is your experience with those values in CentOS or other linux distribution? Is there any noticeable speed difference?

Link to comment
Share on other sites

  • 1 month later...

Unix sockets are inherently faster than communicating over TCP/IP. Using localhost on Linux tells MySQL to communicate using sockets, uses TCP/IP. On Windows it makes no difference which you use.

You should stick with localhost, but the difference is mostly negligible to answer your question.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...