[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
Fri May 10 11:10:26 CEST 2019


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

Rudolf Byker <rudolfbyker at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #19284|0                           |1
        is obsolete|                            |

--- Comment #6 from Rudolf Byker <rudolfbyker at gmail.com> ---
Created attachment 89529
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=89529&action=edit
Use "DROP USER IF EXISTS" and remove " || true"

Anyway, if removing "ERROR 1396 (HY000) at line 1: Operation DROP USER failed
for 'koha_rsc'@'%'" is all you're after, this patch fixes it. "DROP USER IF
EXISTS" has been available since MySQL 5.7, which is old by now.

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


More information about the Koha-bugs mailing list