I would probably use a food grade silicone sealant.

What you got for a shower drain? Is it one of those residential bath/shower units, or is it more like a floor drain?