Anonymous
TRIAL
a year ago
what is the possible reason why it failed to connect to MySQL database? I have set the variables correctly, I am sorry this is my first time deploying my work in railway.
0 Replies
a year ago
in your package.json try setting your start script to sleep 3 && node index.js
a year ago
show me your new deployment logs please
a year ago
can you connect to the database locally?
a year ago
show me the code that connects to mysql please
a year ago
you are missing the port variable for mysql
a year ago
no problem!