[Koha-bugs] [Bug 10517] kohe-restore fails to create mysqluser at mysql_hostname so zebra update fails

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 1 15:03:01 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10517

--- Comment #2 from Robin Sheat <robin at catalyst.net.nz> ---
I don't think removing the instruction to remove the user if it exists is a
good idea, as it might be there. And it it is there, then we want to remove it.
As it stands, the error coming from that failing should be ignored and the
script should proceed. If that's not happening, that's a bug in and of itself
(though looking at it, it should be OK.)

As for adding the permission for @$mysql_hostname, I wonder if that should be
fixed to 'localhost' like it is in koha-create. This is to account for
connecting via either a UNIX socket or a loopback TCP connection within a
machine. For situations where the mysql server is on a remote host, we're
probably reaching the point of complexity where koha-restore isn't suitable in
it's current form.

So anyway, I think it should probably be modified such that mysql_hostname is
always 'localhost', and that'll solve the zebra mysql issue.

Any thoughts on this, John?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list