Re: createdb not found
Michael A Nachbaur <[email protected]>
| Newsgroups | gmane.comp.cms.opengroupware.discuss.general |
|---|---|
| Message-ID | <[email protected]> |
On Wednesday 16 July 2003 03:44 pm, Michael Berry wrote: > Hi, > > So, I'm following the "small HOWTO" but can't get very far: > > [root@AGYGROUP PostgreSQL]# createdb ogo > > bash: createdb: command not found > > Any insight would be great. The "createdb" command doesn't appear to be in your path. Depending on where you installed PostgreSQL, you may want to look there (unless it came installed with your operating system, whereby it should be somewhere in /usr/bin, /usr/sbin, or something like that). If you don't have createdb, then you can get around it by using the "psql" database shell directly (createdb is simply a shortcut for the following): % psql template1 template1=> CREATE DATABASE ogo; -- /* Michael A. Nachbaur <[email protected]> * http://nachbaur.com/pgpkey.asc */ "I teleported home one night With Ron and Sid and Meg. Ron stole Meggie's heart away And I got Sidney's leg."