Hi Jimson,
Welcome to the community!
I have no experience - either real or by reputation - with pgloader. However, we’ve created a free migrator to get you off of MySQL. I suggest you give it a try and come back to us if you’re still having problems.
HTH,
Ann