View | Details | Raw Unified | Return to bug 16690
Collapse All | Expand All

(-)a/debian/templates/koha-conf-site.xml.in (+3 lines)
Lines 250-256 __END_SRU_PUBLICSERVER__ Link Here
250
<config>
250
<config>
251
 <db_scheme>mysql</db_scheme>
251
 <db_scheme>mysql</db_scheme>
252
 <database>__DB_NAME__</database>
252
 <database>__DB_NAME__</database>
253
 <!-- basic installs have the DB on the same machine,
254
      if not, tweak these next two entries -->
253
 <hostname>__DB_HOST__</hostname>
255
 <hostname>__DB_HOST__</hostname>
256
 <webserver>__DB_HOST__</webserver>
254
 <port>3306</port>
257
 <port>3306</port>
255
 <user>__DB_USER__</user>
258
 <user>__DB_USER__</user>
256
 <pass>__DB_PASS__</pass>
259
 <pass>__DB_PASS__</pass>
(-)a/installer/install.pl (-2 / +2 lines)
Lines 63-68 $info{'dbms'} = ( Link Here
63
    : "mysql"
63
    : "mysql"
64
);
64
);
65
$info{'hostname'} = C4::Context->config("hostname");
65
$info{'hostname'} = C4::Context->config("hostname");
66
$info{'webserver'} = C4::Context->config("webserver");
66
$info{'port'}     = C4::Context->config("port");
67
$info{'port'}     = C4::Context->config("port");
67
$info{'user'}     = C4::Context->config("user");
68
$info{'user'}     = C4::Context->config("user");
68
$info{'password'} = C4::Context->config("pass");
69
$info{'password'} = C4::Context->config("pass");
Lines 147-153 elsif ( $step && $step == 2 ) { Link Here
147
                #Check if user have all necessary grants on this database.
148
                #Check if user have all necessary grants on this database.
148
                my $rq =
149
                my $rq =
149
                  $dbh->prepare(
150
                  $dbh->prepare(
150
                    "SHOW GRANTS FOR \'$info{user}\'\@'$info{hostname}'");
151
                    "SHOW GRANTS FOR \'$info{user}\'\@'$info{webserver}'");
151
                $rq->execute;
152
                $rq->execute;
152
                my $grantaccess;
153
                my $grantaccess;
153
                while ( my ($line) = $rq->fetchrow ) {
154
                while ( my ($line) = $rq->fetchrow ) {
154
- 

Return to bug 16690