Difference between revisions of "Fr:PostgreSQL Config"

From Davical
Jump to navigationJump to search
m (New page: {{Languages|PostgreSQL Config}} {{Trans/fr|PostgreSQL Config}} Quelques trucs à vérifier dans votre configuration de PostgreSQL: == pg_hba.conf == Le fichier PostgreSQL 'pg_hba.conf' es...)
(No difference)

Revision as of 17:56, 27 February 2011

Help
Available languages
Besoin de traduction Cet article ou cette section nécessitent d'être traduits depuis l'article PostgreSQL Config.

Si vous connaissez bien l'anglais, n'hésitez pas ! Merci pour 'DAViCal'.

Quelques trucs à vérifier dans votre configuration de PostgreSQL:

pg_hba.conf

Le fichier PostgreSQL 'pg_hba.conf' est utilisé pour contrôler l'accès aux tables PostgreSQL. DAViCal a besoin que l'utilisateur web ait accès à la base de donnée et pour des raisons de sécurités avec un utilisateur de base de données différent du propriétaire de la base de données.

Changes to pg_hba.conf to allow the 'davical_dba' and 'davical_app' users to connect

The pg_hba.conf file is parsed from top to bottom by PostgreSQL and the first matching rule is the one that applies. This means that if you want to add a rule allowing the 'davical_app' and 'davical_dba' users access to the DAViCal database you probably need to add it fairly early in the file, rather than appending it at the bottom.

See Database/Users for more information about setting up the 'davical_app' and 'davical_dba' users.

Installations prior to 0.9.4

In installations prior to 0.9.4 the database user used by the application was called 'general', rather than 'davical_app'. Installations prior to 0.9.3 the default database name was 'rscds' rather than 'davical'. These changes should be taken into consideration when reading the current documentation.

If your database is currently named in this way then there should really be no need to change it. You will very likely want to create a configuration file for the update-davical-database program however.

Changes to pg_hba.conf to allow the 'general' user to connect

The pg_hba.conf file is parsed from top to bottom by PostgreSQL and the first matching rule is the one that applies. This means that if you want to add a rule allowing the user 'general' access to the RSCDS database you probably need to add it fairly early in the file, rather than appending it at the bottom.

Besoin de relécture Cet article ou cette section nécessitent d'être 'relu'. Si vous connaissez bien le français, n'hésitez pas! Merci pour DAViCal.