select max(vi_id) as max_vi_id from g5_visit
2006 : MySQL server has gone away
error file : /bbs/board.php