Connection MySQL or Postgres error host

anismelowHOBBY

10 months 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

10 months ago

Are you getting this error locally on when on Railway?


anismelowHOBBY

10 months 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.


10 months ago

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


anismelowHOBBY

10 months ago

I tried it with database_public_url


Connection MySQL or Postgres error host - Railway Help Station