Bugzilla – Attachment 64552 Details for
Bug 14533
koha-create --use-db option shouldn't create any db or db user
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14533: remove CREATE USER when koha-create --use-db
Bug-14533-remove-CREATE-USER-when-koha-create---us.patch (text/plain), 1.04 KB, created by
Mark Tompsett
on 2017-06-22 17:53:59 UTC
(
hide
)
Description:
Bug 14533: remove CREATE USER when koha-create --use-db
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2017-06-22 17:53:59 UTC
Size:
1.04 KB
patch
obsolete
>From a5243ad270c4d1c2ef385f107533da20f06c0a81 Mon Sep 17 00:00:00 2001 >From: Yarik Dot <yarikdot@gmail.com> >Date: Thu, 22 Jun 2017 17:53:00 +0000 >Subject: [PATCH] Bug 14533: remove CREATE USER when koha-create --use-db > >--- > debian/scripts/koha-create | 11 ----------- > 1 file changed, 11 deletions(-) > >diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create >index ba4f043..4e9aa40 100755 >--- a/debian/scripts/koha-create >+++ b/debian/scripts/koha-create >@@ -668,17 +668,6 @@ FLUSH PRIVILEGES; > eof > fi #` > >- if [ "$op" = use ] >- then >- mysql --defaults-extra-file=/etc/mysql/koha-common.cnf --force <<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 #` >- > if [ "$CLO_LETSENCRYPT" = "yes" ]; then > APACHE_CONFIGFILE="apache-site-https.conf.in" > else >-- >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 14533
:
41424
|
64552
|
64554
|
64555
|
64712
|
64713
|
65920
|
65921