Commit 5b32b1c7 authored by Francois Marier's avatar Francois Marier
Browse files

Instructions on how to setup the database using Postgres

parent ea359ce0
Setting up the database for Mahara
Mahara assumes that you have properly created the database and the user account
before you connect to the site.
Here's how to create a 'maharauser' account on Postgres:
$ sudo -u postgres createuser -P maharauser
Enter password for new role: ********
Enter it again: ********
Shall the new role be a superuser? (y/n) n
Shall the new role be allowed to create databases? (y/n) n
Shall the new role be allowed to create more new roles? (y/n) n
and how to create a new 'maharadb' database:
$ sudo -u postgres createdb -O maharauser -E utf8 maharadb
NOTE: If you know what the MySQL equivalents are, please send them to so that they will be included in the next release.
-- Francois Marier <> Wed, 21 Nov 2007 14:44:33 +1300
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment