MyBB Community Forums

Full Version: Help!!! Urgent!!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Okay, So I made a new usergroup called "Owner" and put myself in it and it was basically being an admin but it was another group. I thenn accidently deleted That group and canot access the admin cp...what do i do??
see responses at Lost my Admin Access Accidentally.

you need to run SQL queries like below :
UPDATE mybb_users SET usergroup='4' WHERE uid='your user id'


UPDATE `mybb_usergroups` SET `cancp` = '1' WHERE `gid` = '4';


DELETE FROM `mybb_datacache` WHERE `title` = 'usergroups';
It keeps on saying "No database selected"
ahh nvm thx man
if u taken any back up mean's ,restore ur back it will help u ,i thg so
(2012-03-18, 03:33 PM)sureshkanna_007 Wrote: [ -> ]if u taken any back up mean's ,restore ur back it will help u ,i thg so

Not necessary. The queries listed by ranjani solve the problem.