[jboss-svn-commits] JBL Code SVN: r5384 - labs/jbossesb/trunk/product/docs/Install/database

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Aug 1 14:47:29 EDT 2006


Author: kurt.stam at jboss.com
Date: 2006-08-01 14:47:29 -0400 (Tue, 01 Aug 2006)
New Revision: 5384

Added:
   labs/jbossesb/trunk/product/docs/Install/database/README_POSTGRES.TXT
Log:
how to create the schema in postgres

Added: labs/jbossesb/trunk/product/docs/Install/database/README_POSTGRES.TXT
===================================================================
--- labs/jbossesb/trunk/product/docs/Install/database/README_POSTGRES.TXT	2006-08-01 18:46:39 UTC (rev 5383)
+++ labs/jbossesb/trunk/product/docs/Install/database/README_POSTGRES.TXT	2006-08-01 18:47:29 UTC (rev 5384)
@@ -0,0 +1,60 @@
+#########################################################################
+# JBoss, Home of Professional Open Source
+# Copyright 2006, JBoss Inc., and individual contributors as indicated
+# by the @authors tag. See the copyright.txt in the distribution for a
+# full listing of individual contributors.
+#
+# This is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2.1 of
+# the License, or (at your option) any later version.
+#
+# This software is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this software; if not, write to the Free
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+# 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+#########################################################################
+
+HOW TO INSTALL THE jbossesb database:
+
+1. Install postgres. Make sure the server is running. Make sure you remember the user/password. I used
+postgres/postgres during the install.
+
+2. Get a shell/prompt which has access to the postgres utilities. To create the jbossesb database
+in postgres execute
+
+psql -U postgres < JBossESB-DB.sql
+
+
+then type your password (postgres). You should now have jbossesb database.
+
+3. To check if the database is created type
+
+psql -U postgress jbossesb (and give your password)
+
+Then at the 'jbossesb=#' prompt you can type '\l' to display all the databases.
+
+4. To see the tables in the jbossesb database type \dt. This should respond with:
+
+jbossesb=# \dt
+            List of relations
+ Schema |     Name     | Type  |  Owner
+--------+--------------+-------+----------
+ public | batches      | table | postgres
+ public | object_snap  | table | postgres
+ public | people_index | table | postgres
+ public | uid_table    | table | postgres
+(4 rows)
+
+
+
+
+
+
+
+




More information about the jboss-svn-commits mailing list