Ticket #85 (closed defect: fixed)

Opened 7 years ago

Last modified 6 years ago

Postgres SQL and database.cfg

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

Description

Your Install guide at http://www.renaissoft.com/projects/maia/install.php 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

Changed 7 years ago by jarod@…

Or rather:

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

Changed 7 years ago by jarod@…

And for config.php, use:

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

Changed 6 years ago by rjl

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