can we gain command line access to mysql service?
jlew24asu
PROOP

a year ago

possibly via a linux container or alike?

Solved

13 Replies

a year ago

Railway does not natively support SSH. @silent @Brody has been working on a custom solution, might be applicable here


a year ago

well, silent didn’t work


a year ago

sadly not applicable here


jlew24asu
PROOP

a year ago

how do you suggest I interact with my DB? I need to deploy code with commands any time I need to, for example, delete something from a table


jlew24asu
PROOP

a year ago

or say I want to something like just view my tables


a year ago

I am not sure if I understand your question right, but if you want to query your database, you can just do that by connecting to your database.


jlew24asu
PROOP

a year ago

from what command line?


a year ago

I suppose the mysql cli client in this case. https://dev.mysql.com/doc/refman/8.4/en/connecting.html


jlew24asu
PROOP

a year ago

oh, so just connect to the public url and use sql client? fair enough


jlew24asu
PROOP

a year ago

for some reason I was thinking I had to be within railway. that said, a linux container in same railway env would be nice 🙂

you can close this.


tristan-white
HOBBY

a year ago

you can use the CLI command railway connect to connect to a db and issue commands



a year ago

!s


Status changed to Solved adam about 1 year ago


Loading...