Bugzilla – Attachment 72345 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), 907 bytes, created by
Marcel de Rooy
on 2018-03-02 08:03:15 UTC
(
hide
)
Description:
Bug 19547: MariaDB install has no debian.cnf
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2018-03-02 08:03:15 UTC
Size:
907 bytes
patch
obsolete
>From 751abce85222e9e859a2ee40ce8dd98d54f93e5c 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 >Content-Type: text/plain; charset=utf-8 > >This attempts to handle issues arising when running >koha-create on a system that never had MySQL installed. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > debian/scripts/koha-create | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create >index 3f85cb2..1312ee3 100755 >--- a/debian/scripts/koha-create >+++ b/debian/scripts/koha-create >@@ -126,6 +126,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