Is this a fiberglass or some other plastic shower pan? There are various types of drains that might be able to be used. Some of them use a rubber sleeve and a press fit, there's no glued or threaded connection between the drain and the pipe.
Can you post a picture? It would make it easier to help.