check your ormconfig.ts or ormconfig.json anyway check the file to connect to the database
ormconfig.ts
reference
if the error still occurs