发新话题
打印

x2.5 忘记管理员密码,无法安装tools 还有什么办法找回管理员

x2.5 忘记管理员密码,无法安装tools 还有什么办法找回管理员

执行以下SQL
用户名:openuap  密码:780304

UPDATE IGNORE `forum_common_member` SET `uid` = 1,`email` = 'admin@admin.com',`username` = 'openuap',`password` = 'dc3ca11de97e974a450ac978c5f01bd8',`status` = 0,`emailstatus` = 0,`avatarstatus` = 0,`videophotostatus` = 0,`adminid` = 1,`groupid` = 1,`groupexpiry` = 0,`extgroupids` = '',`regdate` = 1334725420,`credits` = 10,`notifysound` = 0,`timeoffset` = '',`newpm` = 0,`newprompt` = 0,`accessmasks` = 0,`allowadmincp` = 1,`onlyacceptfriendpm` = 0,`conisbind` = 0 WHERE `forum_common_member`.`uid` = 1;


UPDATE IGNORE `forum_ucenter_members` SET `uid` = 1,`username` = 'openuap',`password` = 'f69a1d5054ecc78b988bbde05b8dfb88',`email` = 'admin@admin.com',`myid` = '',`myidkey` = '',`regip` = 'hidden',`regdate` = 1334725417,`lastloginip` = 0,`lastlogintime` = 0,`salt` = '97b07d',`secques` = '' WHERE `forum_ucenter_members`.`uid` = 1;

UPDATE IGNORE `forum_ucenter_admins` SET `uid` = 1,`username` = 'openuap',`allowadminsetting` = 1,`allowadminapp` = 1,`allowadminuser` = 1,`allowadminbadword` = 1,`allowadmintag` = 1,`allowadminpm` = 1,`allowadmincredits` = 1,`allowadmindomain` = 1,`allowadmindb` = 1,`allowadminnote` = 1,`allowadmincache` = 1,`allowadminlog` = 1 WHERE `forum_ucenter_admins`.`uid` = 1;

TOP

发新话题