Discuz! info: MySQL Query Error
Time: 2006-6-1 1:34am
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
FROM cdb_sessions s, cdb_members m
WHERE m.uid=s.uid AND s.sid='SRzkaD' AND CONCAT_WS('.',s.ip1,s.ip2,s.ip3,s.ip4)='222.248.225.174' AND m.uid='1'
AND m.password='76419c58730d9f35de7ac538c2fd6737' AND m.secques='6b0338c6'
Error: No database selected
Errno.: 1046
Similar error report has beed dispatched to administrator before.
数据文件是以前3.X版里的,直接拷贝到4.1的mysql里的,现在登录到mysql里去后看不到论坛的相关数据库。ie访问出现上面的错误。 |