store bool in mysql code example Example: boolean mysql SELECT true, false, TRUE, FALSE, True, False; -- 1 0 1 0 1 0