The supplied parameters to Zend_Auth_Adapter_DbTable failed to produce a valid sql statement

前端 未结 7 2264
终归单人心
终归单人心 2021-01-25 01:53

I have the following exception Caught exception: The supplied parameters to Zend_Auth_Adapter_DbTable failed to produce a valid sql statement, please check table and colum

7条回答
  •  执念已碎
    2021-01-25 02:37

    As Kervin has already answered, this error appears because of collation mismatch between php and mysql.

    You can either stop using utf8 as suggested in the above solution or you can change the database table to use utf8.(It worked for me only after I deleted the data inside the table and reinserted them.)

提交回复
热议问题