Discuz! info: MySQL Query Error

Time: 2017-8-21 9:56pm
Script: /bbs/ppstream.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='201708') OR (type='week' AND variable='1') OR (type='hour' AND variable='21')
Error: No database selected
Errno.: 1046

Similar error report has beed dispatched to administrator before.