[Nest] 487576 [TypeOrmModule] Unable to connect to the database. Retrying (9)...
See original GitHub issueIssue type:
[ x] question [ ] bug report [ ] feature request [ ] documentation issue
Database system/driver:
[ ] cordova
[ ] mongodb
[ x] mssql
[ ] mysql / mariadb
[ ] oracle
[ ] postgres
[ ] cockroachdb
[ ] sqlite
[ ] sqljs
[ ] react-native
[ ] expo
TypeORM version:
[ ] latest
[ ] @next
[x ] 0.2.24 (or put your version here)
Steps to reproduce or a small repository showing the problem:
Hi! I have problem with connection to database. On first server application start without erorrs and don’t have problems with connection to db. On the second server I have error ‘Unable to connect to the database’. On second server I can check connection in manager DB, and it works. What can go wrong?
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (5 by maintainers)
Top Results From Across the Web
NestJS - [TypeOrmModule] Unable to connect to the database ...
Check if you have synchronize connection option set to true in database configuration. Make it to false. It worked for me.
Read more >TypeORM and MySql Configuration for NestJS - Medium
[Nest] 16874 - 01/07/2021, 11:33:55 AM [TypeOrmModule] Unable to connect to the database. Retrying (1)... +9ms. Error: ER_ACCESS_DENIED_ERROR: Access denied ...
Read more >Postgres (pg) "missing" after upgrade from 8.4.7 to 9.0.4 - Reddit
[Nest] 2279561 - 07/14/2022, 1:56:59 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (1).
Read more >NestJS Tutorial #9 - Connecting to MySQL using TypeORM
Your browser can't play this video. Learn more. Switch camera.
Read more >API with NestJS #2. Setting up a PostgreSQL database with ...
To make the managing of a database more convenient, we use an ... [Nest] 22384 - 07/04/2021, 09:47:54 [TypeOrmModule] Unable to connect to ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I was facing a similar problem and using the
mysql2module helped me.You can also try
--tls-min-v1.0when running nodehttps://github.com/nodejs/node/issues/27384