Skip site navigation (1) Skip section navigation (2)

Re: cannot makedb

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Van Ingen, Lane" <lvaningen(at)ESNCC(dot)com>
Cc: "Stephen Choularton" <mail(at)bymouth(dot)com>,pgsql-novice(at)postgresql(dot)org
Subject: Re: cannot makedb
Date: 2005-03-29 15:34:13
Message-ID: 22561.1112110453@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-novice
"Van Ingen, Lane" <lvaningen(at)ESNCC(dot)com> writes:
> There is no such command (that I know of). Looks like you really want to do a createdb or CREATE DATABASE
> command. createdb can be issued from an operating system prompt; CREATE DATABASE would be executed from
> inside psql. Both will crteate a database for you.

Also, the reason "nothing happened" is you didn't enter a semicolon.
A SQL command isn't complete until you do.  Had you typed "makedb mydb;"
then at least you'd have gotten a SQL syntax error, which might have
led your thoughts in the correct direction ...

			regards, tom lane

In response to

pgsql-novice by date

Next:From: Gene.BrummDate: 2005-03-29 16:09:25
Subject: Connect to database using pg_connect
Previous:From: Terry.ArnoldDate: 2005-03-29 14:56:05
Subject: oracle tools

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group