If you are not storing volumes on NFS or any other kind of persistent storage, then it's not surprising that the database is empty when the pod is re-created.
I don't believe there is a tool to order pod startups (well, the StatefulSet controller kinda does, but only for pods managed by itself). Instead, pods are expected to implement liveness/readiness probes and retry (or get terminated) until the database is available.