Database Connection Mis-information

Whilst on my usual rounds on StackOverflow to help spread useful knowledge of computing and web development I came across the following comments on a thread: Um... mysql doesn't connect over http... nor to a directoryNeither should it be an url. Usually it's localhost or the IP address of the…