Manual talk:AdminSettings.php

Please elaborate
So How do I manually create an SQL user??
 * Seconded! --76.65.3.32 03:35, 16 October 2008 (UTC)

Vague Instructions

 * "The SQL user must be manually created or set to an existing user with necessary permissions."


 * 1) Where can we find instructions for manually creating this user account?
 * 2) What are "necessary" permissions?

Vague instructions such as this greatly add to the frustration that non-expert users of MediaWiki experience. Any help here would be greatly appreciated as I'd *really* like to upgrade from 1.5.8.

Details on how to create a new MySQL account can be found at http://dev.mysql.com/doc/refman/4.1/en/adding-users.html.

My guess on the commands required are:

shell> mysql

mysql> GRANT ALL PRIVILEGES ON *.* TO 'wikiadmin'@'localhost' IDENTIFIED BY 'some_pass';

I don't think it's necessary to give the user privileges on all your databases so you could do:

mysql> GRANT ALL PRIVILEGES ON wikidb.* TO 'wikiadmin'@'localhost' IDENTIFIED BY 'some_pass';

If you don't have any AdminSettings.php, a sample is available for Debian at: /usr/share/doc/mediawiki/examples/AdminSettings.sample
 * AdminSettings.php
 * 1) You may fill in this file and copy it in /etc/mediawiki.
 * 2) If you use the mysql root account, you may delete it afterward.

profileinfo.php
It would be really nice, if someone told in the documentation, what profileinfo.php is. It's a really nice setting, but nearly no one knows what it is about. There's nothing more told about it in metawiki. The only known thing seems to be that it's in the turkanen's AdminSettings.php. --Didldiyoo


 * Second that... Definitely need more documentation on this. 121.45.215.234 22:12, 17 June 2008 (UTC)

I would like to add myself onto my own wiki as bureaucrat or syop or admin- -
How do I do this???? I changed the info in AminSettings.php to my username and password, but I still don't have any other permissions. I also don't know how to add people (or me) to the bureaucrat group or any groups for that matter!

I really want to be able to block spammers permanently but have no idea how (I've added the spam blacklist, but it didn't help at all).

Any advice?

Thanks!
 * Errr... Check in your special pages in your wiki (you must be logged in and must be an admin). Look for "User rights management" if this title will show at the bottom of the screen: Restricted special pages. --76.65.3.32 03:33, 16 October 2008 (UTC)

Designating myself as an Admin?
So, I copy the info from AdminSettings.sample into a new file called AdminSettings.php, right? I modify it to my username and password, right? Then I put it into my main directory, right? I must be missing something, because I don't have admin permissions on my own wiki and I can't figure out how to get them. I would GREATLY appreciate any help you fine, experienced people could offer. I'm going nuts! :) 97.116.128.2 05:50, 17 December 2008 (UTC)