MySQL Connection NestJs
albertoromerogrHOBBY
a year ago
Hi!
I create a mysql database and i can connect with mysql workbench, but when i trying to connect with my nestjs application i get [Nest] 54 - 04/05/2024, 7:36:15 AM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (8)….
Can anyone help me??
4 Replies
albertoromerogrHOBBY
a year ago
The environment variables it's ok in my nest app because i had a mysql database in other hosting and if i changed the values the app works
albertoromerogrHOBBY
a year ago
I change the public host by the private host and it works…..with the public host i can't access
a year ago
Please make sure you are using all the correct environment variables.
Status changed to Solved railway[bot] • about 1 year ago