Use str_to_bool for mysql config bools, Fixes #483