Talk:Executing a Mediawiki Maintenance Script

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

I am new to php and mediawiki, but am venturing to setup a wiki. I am running it off my own box with Ubuntu 7.10 using xampp. I have installed the wiki, configured it, added a user to MySQL, and configured AdminSettings.php. I know I have php5-cli installed on my box, but I can't get the scripts to run.

When I run any of the scripts I get the following error:

 DB connection error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (localhost)

I granted full access to the user and I know I have the password set correctly. Could this be a problem with my MediaWiki configuration or is it in MySQL?

Any advice out there? Thanks.

--GDoermann 04:06, 15 April 2008 (UTC)[reply]

Stop and Start the mySQL service - at least this worked for me.
No guarantee - I'm still trying to get past the mySQL permissions to actually run the scripts