Bugzilla – Attachment 86698 Details for
Bug 22527
Web installer links to wrong database manual when database user doesn't have required privileges
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22527: Fix link to wrong database manual in web installer
Bug-22527-Fix-link-to-wrong-database-manual-in-web.patch (text/plain), 2.38 KB, created by
Lari Taskula
on 2019-03-16 00:16:55 UTC
(
hide
)
Description:
Bug 22527: Fix link to wrong database manual in web installer
Filename:
MIME Type:
Creator:
Lari Taskula
Created:
2019-03-16 00:16:55 UTC
Size:
2.38 KB
patch
obsolete
>From b4bfb967c859f0d297d55d23afcee43a9d9afadd Mon Sep 17 00:00:00 2001 >From: Lari Taskula <lari.taskula@hypernova.fi> >Date: Sat, 16 Mar 2019 00:01:37 +0000 >Subject: [PATCH] Bug 22527: Fix link to wrong database manual in web installer > >To reproduce: >1. Use MySQL or MariaDB for your Koha installation >2. Create an empty database and point $KOHA_CONF to this database name. >3. Grant SELECT privilege to your database user, e.g. > grant select on koha3.* to 'koha'@'%' identified by 'koha'; >4. Go to step 2 of web installer where it checks database connection >5. Observe the following message > >User koha doesn't have enough privilege on database koha. > >Ask for or make a change in the user's privileges. User koha must have USAGE, INSERT, UPDATE, DELETE, DROP and CREATE privileges on database koha2. > >Need help? See manual for PostgreSQL > >6. Note "See manual for PostgreSQL" is wrong. Should be "See manual for MySQL". >7. Apply patch >8. Refresh page and observe it now displays correct link > >Sponsored-by: Hypernova Oy >--- > koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt >index 30a9209abb..0b0360edd8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt >@@ -33,7 +33,7 @@ > </ul> > <p class="error">User [% user | $HtmlTags tag=>'code' %] doesn't have enough privilege on database [% dbname | $HtmlTags tag=>'code' %].</p> > <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> >- <p>Need help? See manual for [% IF ( mysql ) %] >+ <p>Need help? See manual for [% IF ( dbms == 'mysql' ) %] > <a href="http://dev.mysql.com/doc/refman/4.1/en/grant.html">MySQL</a> > [% ELSE %] > <a href="http://www.postgresql.org/docs/8.2/interactive/sql-createrole.html">PostgreSQL</a> >-- >2.17.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 22527
:
86698
|
86699
|
87550
|
87551
|
88084
|
89198
|
89374
|
89375
|
89452