Connection MySQL or Postgres error host

anismelow
HOBBY

a year ago

2003, "Can't connect to MySQL server on 'mysql.railway.internal' ([Errno 11001] getaddrinfo failed)")

By putting the variables in the configuration of django username, Host etc etc when I want to make the connection it gives me a host error

4 Replies

a year ago

Are you getting this error locally on when on Railway?


anismelow
HOBBY

a year ago

This problem is in my django application, I configure the connection, with the data provided by Railway and at the time of lifting the local server it tells me host error.


a year ago

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


anismelow
HOBBY

a year ago

I tried it with database_public_url