mysql unable to change the image tag

6 months ago

I want as an user to deploy specific versions of the databases, not only choosing mysql and the version that the railway team defaults which is currently 9 (since a lot of times that version doesn't fill user requirements)

when i try to manually downgrade it from the image tag, it still doesn't let me, please fix this issue, the user should be able to choose the version and easy change it

36 Replies

6 months ago

Do you have data on the database?


6 months ago

nope, i just create it


6 months ago

Click on the volume, scroll down and wipe it


6 months ago

i wipe it, it's deployed, it could be helpfull for other users to mention that trick in the UI somewhere 😉


6 months ago

Why are you downgrading, anyways?


6 months ago

MySQL 9 released over a year ago


6 months ago

On my company they still use version 8 for everything, it's a company that handles thousands of money requests


6 months ago

so i guess they won't change the db version since it's working and they don't wanna mess it with an upgrade


6 months ago

You'll have to eventually 😃


6 months ago

i guess so


6 months ago

Look into it, it probably isn't a big deal


6 months ago

ty!, i know it's aside but do u have a guide to deploy ms sql 2022 ?

i followed from a template one:

but when i tried to connect i cant :/

1410370252314771500
1410370252935528400


6 months ago

Don't think there is supposed to be a backslash here?

1410370444208373800


6 months ago

Oh.


6 months ago

The port also goes before the /master


6 months ago

Hold on


6 months ago

that url is auto generated


6 months ago

i fill the details on the form


6 months ago

Which template are you using of that list of three


6 months ago

1410370858576384000


6 months ago

Testing myself


6 months ago

ty!


6 months ago

u're the best


6 months ago

For some reason this template has the incorrect port set in the TCP proxy settings.

Go into the settings of the service, scroll down to public networking, and click the trash next to the proxy. Then add a new one pointing to the port 1433. Deploy the service, and once it's deployed, reload the page. (It won't update unless you do…)

Use that new domain and public port it gives you.


6 months ago

i manually deleted the previous host
added the new one on port 1433,

on instance value i tried with: "railway" "master" and empty

1410377194278224100


6 months ago

did i work for u the connection?


6 months ago

You won't be able to use the "generate domain" button. Make sure you select TCP Proxy.


6 months ago

ohh, checking…


6 months ago

u helped me a lot today, kudos!


6 months ago

Glad to hear you got it working


6 months ago

everything worked,
just feedback, is that a bug, i mean, something to avoid the users to be automatically mapped to the right port ?


6 months ago

That's something that the template creator will have to fix unfortunately


6 months ago

i was thinking like, what if railway create their own repos, so they don't rely on the users maintaining it


6 months ago

but just an idea


6 months ago

thanks again!


6 months ago

have a good day


Loading...