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:

...

  • Open the <servoy>/application_server/database directory and remove the files there, except the servoy_repository.* files
  • Open the sybase.config file located in the <servoy>Start the database (for information on starting the database, look here )
  • Connect to the database using the commandline psql utility and drop the unwanted databases:
    Code Block
    titleConnecting
    {servoy_install}/application_server/
    sybase_db directory using a text editor and:
    -remove the links to the sample databases:
    postgres_db/bin/psql postgres DBA
  • Code Block
    titleLinks to Dropping the sample databases in sybase.config
    database/drop database if exists user_data.db;
    drop database/example.db
    database/ if exists example;
    drop database if exists log_data.db;
    drop database/udm.db
    database/ if exists udm;
    drop database if exists pdf_forms.db;
    drop database/ if exists bug_db.db
    -add the links to the existing database files. For example:
    Code Block
    titleExample links to existing database files
    c:/myOwnDatabases/crm.db

...

titleUsing an existing database for the [Servoy Repository]
  • ;
  • Restore a dump of the existing databases. For information on how to backup and restore databases, see the PostgreSQL documentation here.
Not using the bundled PostgreSQL database engine

...