Mucus plug

Do you have to lose the mucus plug before your water breaks? Or is it possible to go into labor without losing the plug?