hey anyone can tell me how to connect my railway mysql with my django project ?

Anonymous
TRIAL

a year ago

I got below error how can i sort this ...

django.db.utils.OperationalError: (2005, "Unknown server host 'mysql.railway.internal' (11001)")

django.db.utils.OperationalError: (2002, "Can't connect to server on 'containers-us-west-123.railway.app' (10060)")

Solved

3 Replies

a year ago

When developing locally you will need to use the public host and port of your database service.


willymwaura
HOBBY

a year ago

When developing locally you will need to use the public host and port of your database service.

@brody mine too is not working and i have used the public url of my postgresql


a year ago

Please do not hijack other's threads.

Going to close this out since I have confirmed there are no issues connecting to OP's database publically.


Status changed to Solved brody 11 months ago


hey anyone can tell me how to connect my railway mysql with my django project ? - Railway Help Station