Hot-melt glue is an adhesive. It is not rated for any electrical application.
Some idea of what’s required: