PDA

View Full Version : Unknown column


TranceMaker
01-04-2010, 14:53
После установки 1.82 в логах вижу вот такие ошибки


31761:20100401:170105.084 [Z3005] Query failed: [1054] Unknown column 'h.maintenance_status' in 'where clause' [select count(*),min(t.nextcheck) from httptest t,applications a,hosts h where t.applicationid=a.applicationid and a.hostid=h.hostid and mod(t.httptestid,1)=0 and t.status=0 and h.status=0 and (h.maintenance_status=0 or h.maintenance_type=0) and t.httptestid between 000000000000000 and 099999999999999]

сооветственно сервер не работает и ничего не рисуется.
немогу понять в чем проблема! кто сталкивался с похожем?

dotneft
01-04-2010, 16:53
схема базы кривая:
1) добавить вручную нехватающие колонки с помощью alter table
2) заново создать схему

TranceMaker
01-04-2010, 19:53
что имеете ввиду под схемой?) я просто в мускульной терменологии мало чего понимаю)