I am using mysql_connect, and localhost as the server.
In the php manual, there is a note.
Note: Whenever you specify "localhost" or "localhost:port" as server, the MySQL client library will override this and try to connect to a local socket (named pipe on Windows). If you want to use TCP/IP, use "127.0.0.1" instead of "localhost".
What should I do? the localhost is working for me, should I change it to 127.0.0.1?
or I can still use the localhost because it is working fine now but should I use 127.0.0.1 for better practice instead of localhost in the future?
and why?
using localhost instead 127.0.0.1 wouldn't cause me the trouble for exceeds the limits of the mysql connections, right?
Thanks!