Is this the rest of your pump and plumbing?
View attachment 645103 if it's leaking where the gray fitting is theaded into the pump, you should be able to undo that Union and remove the threaded fitting. Use a PVC pipe sealant and reinstall the fitting. Check out the section in this article on assembling threaded joints:
www.troublefreepool.com