Unix Technical Forum

How to get to command line prompt

This is a discussion on How to get to command line prompt within the pgsql Admins forums, part of the PostgreSQL category; --> I just installed Postgresql for windows. There is an elephant headed icon, which seems to be the way to ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 06:54 AM
Philippe Salama
 
Posts: n/a
Default How to get to command line prompt

I just installed Postgresql for windows.

There is an elephant headed icon, which seems to be the way to get to the command line prompt. I have a textbook which assumes that you can communicate with postgres through command line, and run scripts.

When I click the icon, it asks for password, and then does nothing but disappear.

IF there is no command line available with the windows install, then, is there a 3rd party product?

Thanks


---------------------------------
Have a burning question? Go to Yahoo! Answers and get answers from real people who know.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 06:54 AM
Rajesh Kumar Mallah
 
Posts: n/a
Default Re: How to get to command line prompt

Hi,

Go to Start->run -> type cmd <press enter>

say you get the c: prompt then type

C:\blah\blah> psql -U postgres template1

above assumes psql is in PATH. if it succeeds
you shall get a psql prompt.

once you get the prompt , follow the instructions in text book
to create new database , users etc.


regds
mallah.

On 12/8/06, Philippe Salama <karebacnyc@yahoo.com> wrote:
> I just installed Postgresql for windows.
>
> There is an elephant headed icon, which seems to be the way to get to the
> command line prompt. I have a textbook which assumes that you can
> communicate with postgres through command line, and run scripts.
>
> When I click the icon, it asks for password, and then does nothing but
> disappear.
>
> IF there is no command line available with the windows install, then, is
> there a 3rd party product?
>
> Thanks
>
>
> ________________________________
> Have a burning question? Go to Yahoo! Answers and get answers from real
> people who know.
>
>


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:57 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com