How to connect to a volume in Railway?
ethanlaj
HOBBYOP

2 years ago

Is there any good service that would allow me to access a crashed SQL instance?

Solved

31 Replies

ethanlaj
HOBBYOP

2 years ago

a0f6f98d-8a5e-40ef-9ca4-4a2f6c9ef87f


2 years ago

may i asked why you deployed mysql 5.7 over mysql 8?


ethanlaj
HOBBYOP

2 years ago

so I can do the legacy authentication


ethanlaj
HOBBYOP

2 years ago

mysql_native_password


ethanlaj
HOBBYOP

2 years ago

But uhh, that didn't work so now I'm on damage control


2 years ago

mysql 5.7 is several major versions behind mysql 8 though and mysql_native_password was only deprecated in 8.0.34, why the jump back to 5.7?


ethanlaj
HOBBYOP

2 years ago


2 years ago

yes i know, but why the jump back to 5.7


ethanlaj
HOBBYOP

2 years ago

🫠

1323729276637413427


2 years ago

oof, never blindly trust a comment that says to downgrade something several major versions


2 years ago

you can try to set innodb_fast_shutdown to 0


ethanlaj
HOBBYOP

2 years ago

you can try to set innodb_fast_shutdown to 0

How can I do that without access to the volume? Just an arg?


2 years ago

yes


2 years ago

nope, didnt work, try manually going through the next versions 5.7 -> 5.8 -> etc


2 years ago

but please come to terms that you could have irreversibly lost your data



ethanlaj
HOBBYOP

2 years ago

luckily i was smart and did a backup


2 years ago

then just restore from that and call it a day


ethanlaj
HOBBYOP

2 years ago

how does one do that


ethanlaj
HOBBYOP

2 years ago

if I have no volume access


ethanlaj
HOBBYOP

2 years ago

just spin up another instance of mysql?


2 years ago

yes and then restore the backup to that


ethanlaj
HOBBYOP

2 years ago

any way to start it at version 8 and not 9?


2 years ago

no, the template deploys v9, youd have to downgrade it after the fact


ethanlaj
HOBBYOP

2 years ago

well that is upsetting


ethanlaj
HOBBYOP

2 years ago

2024-12-31T19:20:18.770972Z 1 [ERROR] [MY-014061] [InnoDB] Invalid MySQL server downgrade: Cannot downgrade from 90100 to 80403. Downgrade is only permitted between patch releases.


ethanlaj
HOBBYOP

2 years ago

wait


ethanlaj
HOBBYOP

2 years ago

1323732851417550929


2 years ago

yeah


ethanlaj
HOBBYOP

2 years ago

ty


2 years ago

!s


Status changed to Solved brody over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...