select count(idx) as total from TB_NEWS where gubun = '2'
    Lost connection to MySQL server during query