Opened 16 years ago

Closed 15 years ago

#85 closed defect (fixed)

Postgres SQL and database.cfg

Reported by: anonymous Owned by: rjl
Priority: normal Milestone:
Component: Documentation Version: 1.0.0 RC5
Severity: minor Keywords:


Your Install guide at shows and example of the database.cfg file using MySQL. The syntax for Postgres is pretty different and you might want to add an example to the doc. The following might be sutible:

# Configure your database DSN here dsn = "DBI:Pg:dbname=maia;host=localhost;port=3306;"

# Your database user's login name username = "amavis"

# Your database user's password password = "passwd"

Change History (3)

comment:1 Changed 16 years ago by jarod@…

Or rather:

dsn = "DBI:Pg:dbname=maia;host=localhost;port=5432;"

comment:2 Changed 16 years ago by jarod@…

And for config.php, use:

$maia_sql_dsn = "pgsql://amavis:passwd@tcp(localhost:5432)/maia";

comment:3 Changed 15 years ago by rjl

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.