page"><div><div><h2 class="title" style="clear: both">23.2. Creating a Database <a href="#MANAGE-AG-CREATEDB" class="id_link">#</a></h2></div></div></div><a id="id-1.6.10.5.2" class="indexterm"></a><p>
   In order to create a database, the <span class="productname">PostgreSQL</span>
   server must be up and running (see <a class="xref" href="server-start.html" title="19.3. Starting the Database Server">Section 19.3</a>).
  </p><p>
   Databases are created with the SQL command
   <a class="xref" href="sql