Discuz! info: MySQL Query Error

Time: 2017-6-26 2:50am
Script: /index.php

SQL: UPDATE [Table]stats SET count=count+1 WHERE (type='total' AND variable='hits') OR (type='browser' AND variable='Other') OR (type='os' AND variable='Spiders') OR (type='total' AND variable='guests') OR (type='month' AND variable='201706') OR (type='week' AND variable='1') OR (type='hour' AND variable='02')
Error: No database selected
Errno.: 1046

Similar error report has beed dispatched to administrator before.