I created a database named "wchiba" in postgres using :
create database wchiba;
Then I create a user :
create a user saifeddine with password "0000";
Then I grant privileges :
grant all on database wchiba to saifeddine;
Everything now is ok
But when I load a shapefile to my table I have this problem of password
FATAL: password authentication failed for user "wchiba"
Also my database is wchiba not the user while the user created is saifeddine.
What's going on?
Does anyone know how to configure pg_hba.config