Child pages
  • Starting the Database

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When a Servoy Application Server is started, the databases it is configured to connect to must be up and running. The Servoy Application Server startup scripts do NOT start the database. The administrator of the installation is to make sure that the databases are started BEFORE the Servoy Application Server is started.

...

Starting PostgreSQL command line:
The code below is to be executed from within the {servoy_install}/application_server directory. Using the pg_ctl utility located in the ..\postgres_db\bin directory, the PostgreSQL database server located in the ..\database directory ("-D database") is started. The "-l postgres_db\postgres_log.txt" option indicated the location of the logfile.

Code Block
titleStarting PostgreSQL commandline
postgres_db\bin\pg_ctl start -D database -l postgres_db\postgres_log.txt

for more information on the options for starting PostgreSQL and details on how to automatically start PostgreSQL when the machine it runs on is started, please refer to the PostgreSQL documentation here .