The following outlines the steps to take when creating the user accounts in your PostgreSQL database.
1. Log into PostgreSQL using psql. $ su - postgres
$ psql |
2. Create the following databases: |
|
Example Command to create a database |
|
3. Create the following users: CREATE USER i2b2demodata WITH PASSWORD 'myPassword';
Grant all the privileges on the database GRANT ALL PRIVILEGES ON DATABASE i2b2demodata to i2b2demodata; |
|
|