I recently detected a small leak coming from my bathroom sink. I started disassembling and found the pipe connecting the p-trap to the wall was only loosely fitted to the wall side of the connection.
The elbow is firmly glued into the wall's pipe. It seems like I need to glue a threaded connection between the elbow and straight pipe. These pieces are 2" PVC. I'm looking for suggestions on the simplest "correct" fix.
Thanks!
UPDATE:
Thank you for the comments. I wanted to leave myself a good option to do a full p-trap replacement if it ever became necessary in the future. This 45 elbow is tight up to the cabinet, which would make for a much harder future job if it needed to be replaced.
I ended up getting a 1-1/2" Oatey p-trap at HD along with a "trap adapter" to make the whole thing work.
For those interested, here is a photo showing the old vs new:
And lastly, here is a close up of the elbow. It does look like this had a few beads of glue or something in there.
Last but not least, the final product: