建完表,連接數(shù)據(jù)庫(kù),登錄/注冊(cè)出錯(cuò)
Database Exception?–?yii\db\Exception
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'user.username' in 'where clause'
The SQL being executed was: SELECT EXISTS(SELECT * FROM `user` WHERE `user`.`username`='123123')
Error?Info:?Array( ????[0]?=>?42S22 ????[1]?=>?1054 ????[2]?=>?Unknown?column?'user.username'?in?'where?clause')
?
Caused by:?PDOException
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'user.username' in 'where clause'
in?D:\wamp64\www\asd.com\vendor\yiisoft\yii2\db\Command.php?at line?1290