Connecting a remote database

zh1d-almightyHOBBY

6 months ago

Please forgive my ineptness but i got this after watching a video tutorial on how to connect to a remote mysql database and i am struggling as i cannot find the port number in the variables. I am trying to run a Spring boot app

Solved

4 Replies

6 months ago

Heya, no worries ! We have docs on this that should help: https://docs.railway.app/guides/postgresql#connect

Let me know if you need more help :)

Best,
Nico


Status changed to Awaiting User Response railway[bot] 6 months ago


zh1d-almightyHOBBY

6 months ago

Sorry for not specifying i am using MySQL database. and trying to connect remotely. the video tutorial simply had the port and host but it seems to have changed 8 months later.


Status changed to Awaiting Railway Response railway[bot] 6 months ago


6 months ago

mysql will be very similar - all the variables you need are exposed on the database service


Status changed to Awaiting User Response railway[bot] 6 months ago


zh1d-almightyHOBBY

5 months ago

thank you so much. i am sorted now.


Status changed to Awaiting Railway Response railway[bot] 6 months ago


Status changed to Solved brody 6 months ago


Connecting a remote database - Railway Help Station