Child pages
  • Installing on Existing Databases

Versions Compared

Key

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

...

After installing the Servoy Application Server, the following steps are required to remove the sample databases and connect the PostgreSQL engine to existing PostgreSQL databases:

  • Start the database (see Starting the Database for more information on starting the database, look here )
  • Connect to the database using the commandline psql utility and drop the unwanted databases:

    Code Block
    titleConnecting
    {servoyInstall}/application_server/postgres_db/bin/psql postgres DBA
  • Code Block
    titleDropping the sample databases
    drop database if exists user_data;
    drop database if exists example;
    drop database if exists log_data;
    drop database if exists udm;
    drop database if exists pdf_forms;
    drop database if exists bug_db;
  • Restore a dump of the existing databases. For information on how to backup and restore databases, see the this PostgreSQL documentation here.

Not Using the Bundled PostgreSQL Database Engine

...

  • Copy a servoy.properties file from another installation (for example a Servoy Developer installation) into the <servoy> {servoyInstall}/application_server directory
  • If the copied servoy.properties file doesn't already contain properly configured database connections, see Manual configuration in the Database Connections chapter for more information on how to manually edit the servoy.properties file.

...