eddik 发表于 2019-1-10 08:18:27

cacti报错:MySQL Error:'145', Message:'Table './cacti/poller_item'

  cacti日志报错:
  2014年11月06日 10:24:19 AM - CMDPHP: Poller ERROR: SQL Assoc Failed!, Error:'145', SQL:"selectpoller_output.output,poller_output.time,poller_output.local_data_id,poller_item.rrd_path,poller_item.rrd_name,poller_item.rrd_numfrom (poller_output,poller_item)where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)LIMIT 10000"
  解决方法:
  #mysql -uroot -p
  mysql> use cacti;
  mysql> select count(*) from poller_output;
  mysql> truncate table poller_output;
  修改表: mysqlcheck -ao cacti --auto-repair -uroot -p

页: [1]
查看完整版本: cacti报错:MySQL Error:'145', Message:'Table './cacti/poller_item'