How to Manually Run Database Scripts
KNB Home Data People Informatics Biocomplexity Education Software

Table of Contents
Overview
PostgreSQL
Linux
Overview

Sometimes it will be necessary to run a database script manually. The following sections describe how.

PostgreSQL
Linux

At the command line, you can run:

psql -U metacat -W -h localhost metacat < <script-name>

where <script-name> is the name of the script you want to run. This assumes that your database and username are metacat. You should adjust accordingly for different user or database names.