Topic on Project:Support desk

2001:DF0:0:200C:89DD:4553:1CE7:D0A5 (talkcontribs)

Hi, so my mediawiki page won't load. When I type in the URL, I get this error "Can't contact the database server: php_network_getaddresses: getaddrinfo failed: Name or service not known (db1)". I went through my webhost and looked into the files. It looks like I'm near my data limit because of something do with how the wiki is object caching? Can you give me any suggestions? Thanks!

Ciencia Al Poder (talkcontribs)

You probably have $wgDBserver = "db1" in LocalSettings.php. Check if the name of the database server is correct (which apparently isn't) and fix it.

About the size of the objectcache table, you can delete the contents of the table periodically, but it will cause slower loads, and users being logged out. See Manual:$wgMainCacheType and other similar caching variables to tune where to enable or disable different cache types.

Reply to "Broken MediaWiki"