Use normal PVC cement, and just try to not use too much, so the excess doesn't run out. The key here is to let it cure for several days. When its fully cured, it shouldn't leech anything back into the water column.
__________________
Former advisor and planted tank geek...life's moved on though.