MySQL volume
miikkar7
HOBBYOP

a year ago

I have a MySQL database for a marketplace app in Railway. The service had been stopped so I had to redeploy the service. After redeploying, I no longer have tables in the data. But surely the data and tables did not disappear when I redeployed. I tried to mount and remount the volume and redeploy an earlier deployment to no avail.

project id:bd533ad9-16cd-4ed2-93ad-3ca43151e8f2

Solved

6 Replies

brody
EMPLOYEE

a year ago

/data is the wrong mount path, you want /var/lib/mysql


miikkar7
HOBBYOP

a year ago

I changed it and this happens

1341076419416948700


brody
EMPLOYEE

a year ago

have you checked out thos logs?


miikkar7
HOBBYOP

a year ago

well looking at it now there seems to be a version mismatch so I changed the deployment source image to mysql:9. I can see the tables now


brody
EMPLOYEE

a year ago

awsome!


brody
EMPLOYEE

a year ago

!s


Status changed to Solved brody 12 months ago


Loading...