Making a backup of a wiki using dumpBackup.php

Kyteland

Diamond Member
Dec 30, 2002
5,747
1
81
I am trying to make a backup of a wiki (linked in my sig) using the dumpBackup.php script provided by mediawiki. This is the output it's giving me, with the html stripped out:
Civ4Wiki has a problem
Sorry! This site is experiencing technical difficulties.
Try waiting a few minutes and reloading.
(Can't contact the database server: Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (2) (localhost))
I'm under the impression that all of the maintenence scripts use the database user/pass stored in AdminSettings.php. I've created this file, and the user/pass is exactly the same as the one used in LocalSettings.php (I copied and pasted from one to the other) and I've given it all SQL permissions.

I *can* connect to the database because I can go and edit articles on it. It's just when I run this script that I have problems. What else am I missing?