SELECT * FROM users_groups as ug WHERE 1=1 \nError : (2006) MySQL server has gone away