Revision 4694
Added by daigle almost 16 years ago
run-db-scripts.html | ||
---|---|---|
55 | 55 |
<a name="Postgres"></a><div class="header1">PostgreSQL</div> |
56 | 56 |
<a name="Linux"></a><div class="header2">Linux</div> |
57 | 57 |
<p>At the command line, you can run:</p> |
58 |
<div class="code">sudo su - postgres</div> |
|
59 |
<div class="code">psql metacat < <script-name></div> |
|
58 |
<div class="code">psql -U metacat -W -h localhost metacat < <script-name></div> |
|
60 | 59 |
<p>where <script-name> is the name of the script you want |
61 |
to run</p> |
|
60 |
to run. This assumes that your database and username are metacat. |
|
61 |
You should adjust accordingly for different user or database names.</p> |
|
62 | 62 |
|
63 | 63 |
|
64 | 64 |
</body> |
Also available in: Unified diff
change db script description to run against metacat user instead of postgres user.