...
Configure the PostgreSQL database to allow a remote client connection to the database. The working directory is
$PGDATA
.Edit the
pg_hba.conf
file to match the settings ininstall.xml
.
See Appendix D - PostgreSQL HBA Settings for an example.When the files have been configured, the PostgreSQL database needs to be restarted.
Create the PostgreSQL database instance. The working directory is
postgres
.$ source ./postgre_create_instance.sh
If no error occurs, the database creation is complete and the rest of this section can be ignored.
Tip |
---|
Hint! When the instance creation script is executed, a log file in the |
...
|
If the script fails, cleanup the system before the next try:
Start PSQL:
$ psql
Remove the Database and Users:
postgres=# DROP DATABASE mz;
postgres=# DROP USER mzowner;
postgres=# DROP USER mzadmin;
postgres=# \q
If there is a need to change any installation parameter defined in the file install.xml
, the installation must be restarted from the generation step. For further information, see Extract Database Definition Files for PostgreSQL.
...