MYNE
MYNE

Reputation: 333

Yii occational database access lost

I have a website with 15 tables for a dance school all done in yii with admin to add different content. Development and deployment was more fun than pain, thanks to Yii, but now new issue has popped up. Occationally error says

 database table for active record 'somerecord' does not exist in database

this error just means table does not exist. But this only happens once in a while. Like once every half an hour or so or sometimes more frequently. Could this be a server issue? Even when this occurs, the site is quite fast, which makes me rule out high server load? Could this be specific to database server or something. Database is Mysql on localhost.

I am not using schema cache and no opcode cacher.

Yii version is 1.1.14

Upvotes: 0

Views: 76

Answers (2)

MYNE
MYNE

Reputation: 333

Adding schema cache seemed to reduce rate of this error. but now internal error pops up once in a while... It a server performance issue though..

Upvotes: 0

acorncom
acorncom

Reputation: 5955

Yes, that's your DB server having problems, not Yii. I've worked with Yii for years and only see that error when the DB server is unresponsive.

Upvotes: 1

Related Questions