#1062 - Duplicate entry '0-sysop' for key 1
is this normal?
On 6/29/07, Filip Maljkovic <dungodung(a)gmail.com> wrote:
Matt Gallisdorfer wrote:
I recently finished my mediawiki install and
found the admin username I
created is invalid? Is there another way to change the admin username
or
make a different username an admin?
How do
you mean invalid? Do you know the username or not?
Anyhow, I suppose you can always resort to mysql query. Namely, and I'm
assuming you indeed have mysql access, create an account that you want
to become an admin. Then do the following query:
INSERT INTO user_groups (ug_user, ug_group) VALUES (<the_user_id>,
"sysop");
where <the_user_id> is the ID which you can obtain from preferences.
It's symmetrical for making someone a "bureaucrat" (a user that can
change user rights for other users).
HTH,
Filip
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l