<section xml:id="section_configuring-database-connections"
         xmlns="http://docbook.org/ns/docbook"
         xmlns:xlink="http://www.w3.org/1999/xlink"
         xmlns:xi="http://www.w3.org/2001/XInclude"
         xmlns:ns5="http://www.w3.org/1999/xhtml"
         xmlns:ns4="http://www.w3.org/2000/svg"
         xmlns:ns3="http://www.w3.org/1998/Math/MathML"
         xmlns:ns="http://docbook.org/ns/docbook" version="5.0">
    <title>Database configuration</title>
    <para>You can configure OpenStack Compute to use any
        SQLAlchemy-compatible database. The database name is
        <literal>nova</literal>. The <systemitem
        class="service">nova-conductor</systemitem> service is the
        only service that writes to the database. The other Compute
        services access the database through the <systemitem
        class="service">nova-conductor</systemitem> service.</para>
    <para>To ensure that the database schema is current, run the following command:</para>
    <screen><prompt>#</prompt> <userinput>nova-manage db sync</userinput></screen>
    <para>If <systemitem class="service">nova-conductor</systemitem>
        is not used, entries to the database are mostly written by the
        <systemitem class="service">nova-scheduler</systemitem>
        service, although all services must be able to update
        entries in the database.</para>
    <para>In either case, use the configuration option settings documented in
        <xref linkend="config_table_nova_db"/> to configure the connection
        string for the nova database.</para>
  </section>