mikro-orm

Mikro-orm error: password authentication failed for user “postgres”

霸气de小男生 提交于 2021-01-01 04:33:23
问题 I'm trying to code along this React GraphQL TypeScript tutorial The project uses MikroOrm to communicate with a PostgreSQL database. I have PostgreSQL(12.4) installed on my Ubuntu 18.04, created a "postgres" user and I can log in to the user and run psql without any problems. However, when I start using mikro-orm commands like npx mikro-orm migration:create (video timestamp), I get the following error: error: password authentication failed for user "postgres" at Parser.parseErrorMessage (

Mikro-orm error: password authentication failed for user “postgres”

旧巷老猫 提交于 2021-01-01 04:32:25
问题 I'm trying to code along this React GraphQL TypeScript tutorial The project uses MikroOrm to communicate with a PostgreSQL database. I have PostgreSQL(12.4) installed on my Ubuntu 18.04, created a "postgres" user and I can log in to the user and run psql without any problems. However, when I start using mikro-orm commands like npx mikro-orm migration:create (video timestamp), I get the following error: error: password authentication failed for user "postgres" at Parser.parseErrorMessage (