我按照楼主的方法修改后成这样了:
Discuz! info: MySQL Query Error
Time: 2007-2-4 2:16pm
Script: /index.php
SQL: SELECT s.sid, s.styleid, s.groupid='6' AS ipbanned, s.pageviews AS spageviews, s.lastolupdate, s.seccode, m.uid AS discuz_uid,
m.username AS discuz_user, m.password AS discuz_pw, m.secques AS discuz_secques, m.adminid, m.groupid, m.groupexpiry,
m.extgroupids, m.email, m.timeoffset, m.tpp, m.ppp, m.posts, m.digestposts, m.oltime, m.pageviews, m.credits, m.extcredits1, m.extcredits2, m.extcredits3,
m.extcredits4, m.extcredits5, m.extcredits6, m.extcredits7, m.extcredits8, m.timeformat, m.dateformat, m.pmsound,
m.sigstatus, m.invisible, m.lastvisit, m.lastactivity, m.lastpost, m.newpm, m.accessmasks,m.xspacestatus, m.editormode, m.customshow
FROM cdb_sessions s, cncn21_3.cdb_members m
WHERE m.uid=s.uid AND s.sid='uenbyT' AND CONCAT_WS('.',s.ip1,s.ip2,s.ip3,s.ip4)='219.151.199.16' AND m.uid='1'
AND m.password='98dee097553f7003097f2d3aba3ed98c' AND m.secques=''
Error: SELECT command denied to user: 'cncn21_sj@localhost' for table 'cdb_members'
Errno.: 1142
Similar error report has beed dispatched to administrator before. |