我真的不知道是什麼原因導致這個錯誤時,未能執行SQL語句。CDbCommand部署到服務器
CDbCommand failed to execute the SQL statement: CDbCommand failed to prepare the SQL statement: SQLSTATE[HY000]:
General error: 1 table 'YiiSession' already exists. The SQL statement executed was:
CREATE TABLE 'YiiSession' (
"id" CHAR(32) PRIMARY KEY,
"expire" integer,
"data" BLOB
)
它是在服務器或警予.. 但我想它是在警予的一部分。 但我錯過了什麼配置? 我不是很熟悉,因爲警予即時通訊新給它。 請幫忙嗎? 在此先感謝
更新:我查YiiSession在我的數據庫,但它不是在那裏...