Translations:Manual:$wgDBserver/17/en

If the MySQL server is on the same server and you want to connect through a socket in a non-standard location, you can use the -location, for example $code3.