I have changed the datadir in mysql to a volume for space reasons. It worked the first time before un-attaching the volume and restarting the machine. After booting up again