使用phpmyadmin 主表 SQL 添加如下代码- UPDATE IGNORE `pre_common_member` SET `uid` = 1,`email` = 'admin@admin.com',`username` = 'admin',`password` = 'adb943b9e79a628ac89909abceaad9f1',`status` = 0,`emailstatus` = 0,`avatarstatus` = 0,`videophotostatus` = 0,`adminid` = 1,`groupid` = 1,`groupexpiry` = 0,`extgroupids` = '',`regdate` = 1334610722,`credits` = 0,`notifysound` = 0,`timeoffset` = '',`newpm` = 0,`newprompt` = 0,`accessmasks` = 0,`allowadmincp` = 1,`onlyacceptfriendpm` = 0,`conisbind` = 0 WHERE `pre_common_member`.`uid` = 1;
- SET FOREIGN_KEY_CHECKS=1;
- UPDATE IGNORE `pre_ucenter_admins` SET `uid` = 1,`username` = 'admin',`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 `pre_ucenter_admins`.`uid` = 1;
- SET FOREIGN_KEY_CHECKS=1;
- UPDATE IGNORE `pre_ucenter_members` SET `uid` = 1,`username` = 'admin',`password` = 'f0ab4c9dd1afa2250f45161ab2887d3f',`email` = 'admin@admin.com',`myid` = '',`myidkey` = '',`regip` = 'hidden',`regdate` = 1334610719,`lastloginip` = 0,`lastlogintime` = 0,`salt` = 'fe8b2a',`secques` = '' WHERE `pre_ucenter_members`.`uid` = 1;
- SET FOREIGN_KEY_CHECKS=1;
复制代码 执行 此时,密码被设为19861111
admin 已被设为创始人。用tools,重设密码。即可。
|