Translations:Manual:$wgDBserver/19/en

On Windows, having MySQL as the backend, some users report that using $localhost1 for the server name instead of $ip1 increase the time to connect to the database a lot. So, in windows, it's recommended to use $ip2 instead of $localhost2 if MySQL is on the same machine. See this forum thread.