2 [% INCLUDE 'doc-head-open.inc' %]<title>Database settings › Web installer › Koha</title>
3 [% INCLUDE 'installer-doc-head-close.inc' %]
6 <body id="installer" class="installer">
7 <div class="container-fluid">
9 <div id="installer-step2" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2">
12 <div id="logo"><a href="#">Koha</a></div>
13 <h1>Web installer › Database settings</h1>
17 <li class="complete"><i class="fa fa-check-square" aria-hidden="true"></i> Choose your language</li>
18 <li class="complete"><i class="fa fa-check-square" aria-hidden="true"></i> Check Perl dependencies</li>
19 <li class="current open"><i class="fa fa-square" aria-hidden="true"></i> Database settings</li>
20 <li class="open"><i class="fa fa-square" aria-hidden="true"></i> Set up database</li>
21 <li class="open"><i class="fa fa-square" aria-hidden="true"></i> Install basic configuration settings</li>
22 <li class="open"><i class="fa fa-square" aria-hidden="true"></i> Onboarding</li>
26 <h3>Database settings:</h3>
28 <li><em>Database type: </em> [%- dbms | $HtmlTags tag=>'code' -%]</li>
29 <li><em>Database name: </em> [%- dbname | $HtmlTags tag=>'code' -%]</li>
30 <li><em>Database host: </em> [%- hostname | $HtmlTags tag=>'code' -%]</li>
31 <li><em>Database port: </em> [%- port| $HtmlTags tag=>'code' -%] (probably okay if blank)</li>
32 <li><em>Database user: </em> [%- user | $HtmlTags tag=>'code' -%]</li>
35 [% IF ( dbconnection ) %]
36 <form name="checkdbparameters" method="post" action="install.pl">
37 [% IF ( checkdatabaseaccess ) %]
38 <div class="alert alert-success" role="alert"><p>Connection established.</p></div>
39 [% IF ( checkdatabasecreated ) %]
41 <li>Database [% dbname | $HtmlTags tag=>'code' %] exists.</li>
42 [% IF ( checkgrantaccess ) %]
43 <li>User [% user | $HtmlTags tag=>'code' %] has all required privileges on database [% dbname | $HtmlTags tag=>'code' %].</li>
47 <p class="error">User [% user | $HtmlTags tag=>'code' %] doesn't have enough privilege on database [% dbname | $HtmlTags tag=>'code' %].</p>
48 <p class="tip">Ask for or make a change in the user's privileges. User [% user | $HtmlTags tag=>'code' %] must have USAGE, INSERT, UPDATE, DELETE, DROP and CREATE privileges on database [% dbname | $HtmlTags tag=>'code' %].</p>
49 <p>Need help? For help with granting permissions, please search online for "[% dbms | $HtmlTags tag=>'code' %] manual grant permissions"
52 [% IF ( warnDbRowFormat ) %]
53 <div class="alert alert-danger" role="alert">
54 <p>Database tables with a row format other than 'DYNAMIC': [% warnDbRowFormat | html %]</p>
55 <p>You may experience problems upgrading to newer versions of Koha unless you update the row format for your database tables.</p>
56 <p>To know how to avoid this problem see the related wiki page:
57 <a href="https://wiki.koha-community.org/wiki/Database_row_format">Database row format</a>
62 <div class="alert alert-danger" role="alert"><p>No database named [% dbname | $HtmlTags tag=>'code' %] detected.</p></div>
63 <p>Please create the database before continuing.</p>
66 <div class="alert alert-warning" role="alert">[% error | html %] : [% message | html %]</div>
69 <li>Check that your database is running.</li>
70 <li>Check your database settings in [% 'koha-conf.xml' | $HtmlTags Tag=>'code' %].</li>
71 <li>Check the hostname setting in [% INCLUDE txt_kohaconf_xml %]. Some database servers require [% '127.0.0.1' | $HtmlTags tag=>'code' %] rather than [% 'localhost' | $HtmlTags tag=>'code' %].</li>
74 <p>Please correct these errors. <a href="/cgi-bin/koha/installer/install.pl">Then start the installer again.</a>
76 [% UNLESS ( error ) %]
77 <input type="hidden" name="step" value="3" />
78 <p><input value="Continue to the next step" class="btn btn-primary" type="submit" /></p>
82 <form name="checkinformation" method="post" action="install.pl">
83 <input type="hidden" name="step" value="2" />
84 <input type="hidden" name="checkdb" value="1" />
85 <p><input value="Continue to the next step" class="btn btn-primary" type="submit" /> </p>
87 [% END # / IF dbconnection %]
88 </div> <!-- / #installer-step2 -->
89 </div> <!-- / .row -->
90 </div><!-- / .container-fluid -->
92 [% INCLUDE 'installer-intranet-bottom.inc' %]