select sum(IF(mb_id<>'',1,0)) as mb_cnt, count(*) as total_cnt from g5_login where mb_id <> 'admin'
2006 : MySQL server has gone away
error file : /bbs/board.php