Hi,
The correlation of the white discharge should be easy. If you developed the
discharge after the
piercing, it is likely that the
piercing may have caused an infection that spread or damaged some structures within the scrotum.
Other causes of discharge form the urethra include, STDs, UTIs, prostatitis, etc. You may need to have a urinalysis done, preferably from a sample collected just after ejaculation. A prostate fluid analysis can also be done.