简体   繁体   中英

How do you create a Postgresql database on a Windows system?

I installed Postgresql and have pgAdmin III running.

I'm following the instructions in the Postgres doc on how to get my database started, but I'm not having luck with the first line.

Typing postmaster into my cmd is returning

not recognized...

It seems this command is only for Linux or Mac machines.

Does anyone know how to apply these instructions to Windows? Or if a manual for Windows exists? (Googling has turned up nothing useful)

If you installed PostgreSQL from the EnterpriseDB distribution then the postmaster is already running as a service. You can check this from the Control Panel (Administrative Tools | Services). Can you connect to your local installation using pgAdmin III? If so, then you are all set. In pgAdmin III, connect to the local server, then on the Databases node in the tree under the server select 'New database...'.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM