Dear all, Thank you again for your replies. So regarding my issue with my 'laurent' user account, i remove double quote and i add punctuation between the parameters. But it's always the same result. I succeed in connecting to my pg database with the postgres user. But i have the same problem with 'laurent' user, same error message. The problem seems to come from the laurent account. Below i past my pg_hba.conf. I just add a line allowing all connections (trust) for anyone user. pg_hba.sample <http://postgresql.1045698.n5.nabble.com/file/n5804474/pg_hba.sample> I tried to re run services . I think that postgres services were down beacause when i try to run services, a message appears saying : -------------------------------------- postgresql x64 9.3 service. Postgre sql server has started , then has stopped. Some services stop automatically when it are not used by other serices or programs. -------------------------------------- Do you know the cause of this trouble? this message appears even if the file is raw, unmodified I have to edit anything into my pg_hba.conf? Thanks. -- View this message in context: http://postgresql.1045698.n5.nabble.com/Psycopg2-error-message-tp5804197p5804474.html Sent from the PostgreSQL - general mailing list archive at Nabble.com.