Bugzilla – Attachment 68850 Details for
Bug 19547
Maria DB doesn't have a debian.cnf
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19547: MariaDB install has no debian.cnf
Bug-19547-MariaDB-install-has-no-debiancnf.patch (text/plain), 809 bytes, created by
Mark Tompsett
on 2017-10-30 22:01:09 UTC
(
hide
)
Description:
Bug 19547: MariaDB install has no debian.cnf
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2017-10-30 22:01:09 UTC
Size:
809 bytes
patch
obsolete
>From d96040f28b8b0598f8905b7e8874cdb5180f17b3 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Mon, 30 Oct 2017 17:59:43 -0400 >Subject: [PATCH] Bug 19547: MariaDB install has no debian.cnf > >This attempts to handle issues arising when running >koha-create on a system that never had MySQL installed. >--- > debian/scripts/koha-create | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create >index 7b6b512..9902f8e 100755 >--- a/debian/scripts/koha-create >+++ b/debian/scripts/koha-create >@@ -123,6 +123,11 @@ generate_config_file() { > } > > getmysqlhost() { >+ if [ ! -f /etc/mysql/debian.cnf ] >+ then >+ echo localhost >+ return >+ fi > awk ' > BEGIN { FS="=" } > $1 ~/\[/ { inclient=0 } >-- >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 19547
:
68850
|
68851
|
72283
|
72345
|
72346