从sql添加用户,可以指定UID
比如你删除了前面一些用户,但如果你想要这些删掉用户的UID,可以从sql进行新增。INSERT INTO uc_members SET uid=5, username='ADD', `password`='4fab791987738fce5f11504a0fe2a342', email='ADD@126.com', regip='127.0.0.1', regdate=UNIX_TIMESTAMP(), salt='yyy111';
INSERT INTO uc_memberfields SET uid=5, blacklist='';
INSERT INTO pre_common_member SET uid=5, username='ADD', `password`='2cf5c897f58ca21cac9bec93f46f6f53', email='ADD@126.com', emailstatus=1, regdate=UNIX_TIMESTAMP();
INSERT INTO pre_common_member_count SET uid=5;
INSERT INTO pre_common_member_field_forum SET uid=5, `medals`='', `sightml`='', `groupterms`='', `groups`='';
INSERT INTO pre_common_member_field_home SET uid=5, `spacecss`='', `blockposition`='',
`recentnote`='', `spacenote`='', `privacy`='', `feedfriend`='', `acceptemail`='', `magicgift`='', `stickblogs`='';
INSERT INTO pre_common_member_profile SET uid=5, `bio`='', `interest`='', `field1`='', `field2`='',
`field3`='', `field4`='', `field5`='', `field6`='', `field7`='', `field8`='';
INSERT INTO pre_common_member_status SET uid=5;
uc_members ,uc_memberfields 是你UC表前缀。
页:
[1]