krima95 / mercadona_bo_main

0 stars 0 forks source link

Erreur lors de la connexion à la BDD #15

Closed krima95 closed 1 year ago

krima95 commented 1 year ago

connection to server at "mercadona.c2bl5nwvpyjz.us-east-1.rds.amazonaws.com" (54.87.75.189), port 5432 failed: FATAL: no pg_hba.conf entry for host "91.162.1.226", user "admindb", database "mercadona", no encryption

BDD heberge AWS

krima95 commented 1 year ago

.env SECRET_KEY=django-insecure-)9o2j^n5rv6+ts&(3@8ke08zpj3qp6s1sp$k=&tcj++-w+^*+=

Configuration de la base de données

DB_NAME=mercadona DB_USER=admindb DB_PASSWORD=Studi34! DB_HOST=mercadona.c2bl5nwvpyjz.us-east-1.rds.amazonaws.com DB_PORT=5432

krima95 commented 1 year ago

Résolue le DB_USER s'appelle postgresadmindb dans AWS