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@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] Im Auftrag von Claus Hausberger Gesendet: Freitag, 23. Oktober 2009 10:40 An: mediawiki-l@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