You are here

INSTALL.pgsql.txt in Drupal 6

Same filename and directory in other branches
  1. 4 INSTALL.pgsql.txt
  2. 5 INSTALL.pgsql.txt
  3. 7 INSTALL.pgsql.txt
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-adduser --no-createdb username

   If everything works correctly, you'll see a "CREATE USER" notice.

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=UNICODE --owner=username databasename

   If everything works correctly, you'll see a "CREATE DATABASE" notice.

File

INSTALL.pgsql.txt
View source
  1. CREATE THE PostgreSQL DATABASE
  2. ------------------------------
  3. Note that the database must be created with UTF-8 (Unicode) encoding.
  4. 1. CREATE DATABASE USER
  5. This step is only necessary if you don't already have a user set up (e.g.
  6. by your host) or you want to create new user for use with Drupal only. The
  7. following command creates a new user named "username" and asks for a
  8. password for that user:
  9. createuser --pwprompt --encrypted --no-adduser --no-createdb username
  10. If everything works correctly, you'll see a "CREATE USER" notice.
  11. 2. CREATE THE DRUPAL DATABASE
  12. This step is only necessary if you don't already have a database set up (e.g.
  13. by your host) or you want to create new database for use with Drupal only.
  14. The following command creates a new database named "databasename", which is
  15. owned by previously created "username":
  16. createdb --encoding=UNICODE --owner=username databasename
  17. If everything works correctly, you'll see a "CREATE DATABASE" notice.