Coughing up thick, green mucus may mean a bacterial or, less often, viral infection, but that's not always true. You constantly breathe in bacteria, some of which are harmless, through your nasal ...