|
戏水
- 开发团队
- 9024
- 11976
- 950.06 元
|
戏水
2007-02-27 16:00
|只看楼主
沙发
t
T
回复: 数据转换FAQ--不断增加中
2 转换后不能登录问题的解决
转换程序在转换结束后会自动建立 用户名 admin 密码 dntadmin 的管理员帐号.
如有意外原因导致没有建立这个管理员帐号 可以俺下述方法解决
1 确定 dnt_users表中有没有admin用户
<1> 有 - update [dnt_users] set [password]='e8a58197e26b0f6f8bdf378b778251d1',[groupid]=1 where [username]='admin'
复制代码<2> 无 - insert into [dnt_users]([username], [nickname],[password],[secques], [gender], [adminid], [groupid], [groupexpiry], extgroupids,regip, joindate, lastip, lastvisit, lastactivity, lastpost,lastposttitle, posts, digestposts, oltime, pageviews, credits, extcredits1, extcredits3, extcredits4, avatarshowid, email, bday, sigstatus,templateid, pmsound, newsletter)
- values('admin', '','e8a58197e26b0f6f8bdf378b778251d1', '', 1, 1,1, 0, '', '127.0.0.1', '2007-01-01 00:00:00', '127.0.0.1', '2007-01-01 00:00:00', '2007-01-01 00:00:00', '2007-01-01 00:00:00', '' , 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '1900-1-1', 1, 0, 1, 1)
复制代码观察刚才插入的记录在dnt_users表中的uid是的值, 这里假设为1000 那么继续执行sql - insert into dnt_userfields(uid,website,icq,qq,yahoo,msn,skype,location,customstatus,medals,bio,sightml,authstr,signature)
- values(1000,'','','','','','','','','','','','','')
复制代码
 戏水 最后编辑于 2007-03-20 13:34:05
|