1 [% INCLUDE 'doc-head-open.inc' %]<title>Koha › Web installer › Database settings</title>
2 [% INCLUDE 'installer-doc-head-close.inc' %]
5 <body id="installer" class="installer">
6 <div class="container-fluid">
8 <div id="installer-step2" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2">
10 <h1 id="logo"><a href="#">Koha</a></h1>
11 <h2>Web installer › Database settings</h2>
12 <h3>Database settings:</h3>
14 <li><em>Database type : </em> <code>[% dbms %]</code></li>
15 <li><em>Database name : </em> <code>[% dbname %]</code></li>
16 <li><em>Database host : </em> <code>[% hostname %]</code></li>
17 <li><em>Database port : </em> <code>[% port %]</code> (probably okay if blank)</li>
18 <li><em>Database user : </em> <code>[% user %]</code></li>
21 [% IF ( dbconnection ) %]
22 <form name="checkdbparameters" method="post" action="install.pl">
23 [% IF ( checkdatabaseaccess ) %]
24 <div class="alert alert-success" role="alert"><p>Connection established.</p></div>
25 [% IF ( checkdatabasecreated ) %]
27 <li>Database <code>[% dbname %]</code> exists.</li>
28 [% IF ( checkgrantaccess ) %]
29 <li>User <code>[% user %]</code> has all required privileges on database <code>[% dbname %]</code>.</li>
33 <p class="error">user <code>[% user %]</code> doesn't have enough privilege on database <code>[% dbname %]</code> </p>
34 <p class="tip"> Ask for or make a change in the user's privileges. Need help? See [% IF ( mysql ) %]
35 <a href="http://dev.mysql.com/doc/refman/4.1/en/grant.html">
37 <a href="http://www.postgresql.org/docs/8.2/interactive/sql-createrole.html">
39 this page</a>. User <code>[% user %]</code> must have USAGE, INSERT, UPDATE, DELETE, DROP and CREATE privileges on <code>[% dbname %]</code>
43 <div class="alert alert-danger" role="alert"><p>No database named <code>[% dbname %]</code> detected.</p></div>
44 <p>Please create the database before continuing.</p>
47 <div class="alert alert-warning" role="alert">[% error %] : [% message %]</div>
50 <li>Check that your database is running.</li>
51 <li>Check your database settings in <code>koha-conf.xml</code>. </li>
52 <li>Check the hostname setting in <code>koha-conf.xml</code>.
53 Some database servers require <code>127.0.0.1</code> rather than <code>localhost</code>.</li>
56 <p>Please correct these errors and <a href="/cgi-bin/koha/installer/install.pl">start the installer</a> again.
58 [% UNLESS ( error ) %]
59 <input type="hidden" name="step" value="3" />
60 <p> <input value="Continue to the next step" class="btn btn-primary" type="submit" /> </p>
64 <form name="checkinformation" method="post" action="install.pl">
65 <input type="hidden" name="step" value="2" />
66 <input type="hidden" name="checkdb" value="1" />
67 <p> <input value="Continue to the next step" class="btn btn-primary" type="submit" /> </p>
69 [% END # / IF dbconnection %]
70 </div> <!-- / #installer-step2 -->
71 </div> <!-- / .row -->
73 [% INCLUDE 'intranet-bottom.inc' %]