MyBB Community Forums

Full Version: Admin Account
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
OK, I accenditally deleted the admin account, and now I cant get into the ACP, is this fixable or do I need to reinstall???
Did you delete the whole Account or just the permission to get into the Admin-CP?
I deleted the ACCOUNT
Please follow these steps:

1. Register at your board to create a new account.

2. Run the following querys via phpMyAdmin. Replace UID with your User-ID and edit the prefix if you changed it.
UPDATE mybb_users SET usergroup = '4' WHERE uid = '[b][color=red]UID[/color][/b]';
INSERT INTO mybb_adminoptions VALUES ([b][color=red]UID[/color][/b], '', '', 1, 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes');
OK, I'll try that out now.