INSTALL.pgsql.txt
Version 1.8 (checked in on 2009/07/27 at 19:42:54 by dries)
// $Id: INSTALL.pgsql.txt,v 1.8 2009/07/27 19:42:54 dries Exp $
CREATE THE PostgreSQL DATABASE ------------------------------
Note that the database must be created with UTF-8 (Unicode) encoding.
1. CREATE DATABASE USER
This step is only necessary if you don't already have a user set up (e.g. by your host) or you want to create new user for use with Drupal only. The following command creates a new user named "username" and asks for a password for that user:
createuser --pwprompt --encrypted --no-createrole --no-createdb username
If there are no errors then the command was successful
2. CREATE THE DRUPAL DATABASE
This step is only necessary if you don't already have a database set up (e.g. by your host) or you want to create new database for use with Drupal only. The following command creates a new database named "databasename", which is owned by previously created "username":
createdb --encoding=UTF8 --owner=username databasename
If there are no errors then the command was successful
Login or register to post comments