R
Railway13mo ago
pyk

MySQL: Invalid database host

[2023-10-27 08:13:52] ERROR Invalid database host.

Invalid database host.
"Please double check your database config."

Error ID:
500
Error Code:
ENOTFOUND
----------------------------------------

Error: getaddrinfo ENOTFOUND containers-us-west-155.railway.app
at /var/lib/ghost/versions/5.70.2/node_modules/knex-migrator/lib/database.js:50:23
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:108:26)
[2023-10-27 08:13:52] ERROR Invalid database host.

Invalid database host.
"Please double check your database config."

Error ID:
500
Error Code:
ENOTFOUND
----------------------------------------

Error: getaddrinfo ENOTFOUND containers-us-west-155.railway.app
at /var/lib/ghost/versions/5.70.2/node_modules/knex-migrator/lib/database.js:50:23
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:108:26)
My Ghost deployment cannot connect to the MySQL server, please help. previously it's running smoothly
8 Replies
Percy
Percy13mo ago
Project ID: 95431ed5-0dd9-45ad-bb71-bcbf227a9b5e
pyk
pyk13mo ago
95431ed5-0dd9-45ad-bb71-bcbf227a9b5e
Brody
Brody13mo ago
previously it's running smoothly
what have you changed since it has ran smoothly?
pyk
pyk13mo ago
nothing changed ser, only redeploying
Brody
Brody13mo ago
does this happen every deployment
pyk
pyk13mo ago
yes, I try to connect via MySQL client also doen't work
No description
pyk
pyk13mo ago
all credentials are correct but cannot connect to MySQL host in Railway
Brody
Brody13mo ago
what client is that? either way, try restarting the database
Want results from more Discord servers?
Add your server