title: Starting out with psql shell for PostgreSQL in windows
body: <p>I'm trying to learn about databases from the book <em>seven databases in seven weeks</em> and I don't understand the environment <strong>psql shell</strong>...</p>
  
  <p>In the book they simply say following (I assume they mean to use the shell)</p>
  
  <blockquote>
    <p>create a schema called book using the command</p>
  </blockquote>
  
  <pre><code>$ createdb book
  </code></pre>
  
  <p>but the shell just asks for server, username, port, database and only allows connecting to the already created database <em>postgres</em> that is a maintanence database, whatever that means... The shell doesn't respond at all to the <em>createdb</em>-command.</p>
  
  <p>this is what it looks like
  <a href="https://i.stack.imgur.com/ukx48.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ukx48.png" alt="enter image description here"></a></p>
  
  <p>What have I misunderstood and how do I create a database and use it in psql shell? It sucks to have bought a book in the beginning of a course not being able to use it. </p>