MyBB Community Forums

Full Version: Locked Out of Admin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I accidently removed admin permissions from the Administrators group.

Can somebody write a MySQL query I can execute to give admin permission back to the group?

I thought because next to my name it had "Permissions unique for this person" Instead of "Using group permissions" I would still be admin.

Thanks.
UPDATE `mybb_usergroups` SET `cancp` = '1' WHERE `gid` = '4';
DELETE FROM `mybb_datacache` WHERE `title` = 'usergroups';
ACP > Tools & Maintenance > Cache Manager > usergroups > Rebuild Cache.