
jan at jans-seite
Oct 23, 2009, 3:29 AM
Post #3 of 6
(352 views)
Permalink
|
|
Re: Question about how to get admin access
[In reply to]
|
|
Hi, Run in mysql: INSERT INTO `{$PREFIX}_user_groups` ( `ug_user` , `ug_group` ) VALUES ( '{USER_ID, you get in the table `{$PREFIX}_user`}', 'sysop' ); INSERT INTO `{$PREFIX}_user_groups` ( `ug_user` , `ug_group` ) VALUES ( '{USER_ID, you get in the table `{$PREFIX}_user`}', 'bureaucrat' ); Now you should can use the page "Special:UserRights" in your wiki. Viele Grüße Jan -----Ursprüngliche Nachricht----- Von: mediawiki-l-bounces[at]lists.wikimedia.org [mailto:mediawiki-l-bounces[at]lists.wikimedia.org] Im Auftrag von Claus Hausberger Gesendet: Freitag, 23. Oktober 2009 10:40 An: mediawiki-l[at]lists.wikimedia.org Betreff: [Mediawiki-l] Question about how to get admin access Hello, I am new to MediaWiki and couldn't find the answer to my problem in the docs. Maybe I was just blind but I hope someone here can help me. I have to manage a MediaWiki installation that has already bin in place for a while. I have to add an user with admin rights, for example to change the navigation on the very left. Currently there seems to be no admin user (or sysop). I have root access to the file system and the MySQL db. In the user table there is only one entry for myself and in the user_groups, there are no entries at all. Is there a way to add a user with all admin rights without doing a new installation? There is a lot of content in the wiki already. any help very welcome! Claus -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 _______________________________________________ MediaWiki-l mailing list MediaWiki-l[at]lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list MediaWiki-l[at]lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
|