Discuz! info: MySQL Query Error

Time: 2016-8-30 9:01pm
Script: /bbs/redirect.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='201608') OR (type='week' AND variable='2') OR (type='hour' AND variable='21')
Error: No database selected
Errno.: 1046

Similar error report has beed dispatched to administrator before.