Bugzilla – Attachment 56975 Details for
Bug 17513
koha-create does not set GRANTS correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED OFF] Bug 17513: Create GRANT for user@localhost in koha-create
PASSED-QA-Bug-17513-Create-GRANT-for-userlocalhost.patch (text/plain), 1.44 KB, created by
Martin Renvoize (ashimema)
on 2016-10-29 07:47:42 UTC
(
hide
)
Description:
[SIGNED OFF] Bug 17513: Create GRANT for user@localhost in koha-create
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2016-10-29 07:47:42 UTC
Size:
1.44 KB
patch
obsolete
>From 0241ad5b5955069e6da8169cb7be0b35cfe6d28c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 27 Oct 2016 14:15:57 +0000 >Subject: [PATCH] [PASSED QA] Bug 17513: Create GRANT for user@localhost in > koha-create > >See the bug description for the details. > >Test plan: >Use this script to create a new koha installation, using MariaDB >You should not display >"user koha_kohadev doesn't have enough privilege on database koha_kohadev " > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > debian/scripts/koha-create | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create >index e416c8c..29e8fb6 100755 >--- a/debian/scripts/koha-create >+++ b/debian/scripts/koha-create >@@ -661,6 +661,7 @@ CREATE DATABASE \`$mysqldb\`; > CREATE USER \`$mysqluser\`@'$mysql_hostname' IDENTIFIED BY '$mysqlpwd'; > CREATE USER \`$mysqluser\`@'%' IDENTIFIED BY '$mysqlpwd'; > GRANT ALL PRIVILEGES ON \`$mysqldb\`.* TO \`$mysqluser\`; >+GRANT ALL PRIVILEGES ON \`$mysqldb\`.* TO \`$mysqluser\`@'$mysql_hostname'; > FLUSH PRIVILEGES; > eof > fi #` >@@ -671,6 +672,7 @@ eof > CREATE USER \`$mysqluser\`@'$mysql_hostname' IDENTIFIED BY '$mysqlpwd'; > CREATE USER \`$mysqluser\`@'%' IDENTIFIED BY '$mysqlpwd'; > GRANT ALL PRIVILEGES ON \`$mysqldb\`.* TO \`$mysqluser\`; >+GRANT ALL PRIVILEGES ON \`$mysqldb\`.* TO \`$mysqluser\`@'$mysql_hostname'; > FLUSH PRIVILEGES; > eof > fi #` >-- >2.1.4
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 17513
:
56922
|
56975
|
57643