[Koha-bugs] [Bug 22128] koha-remove fails mysql ERROR 1133 (42000) at line 2: Can't find any matching row in the user table

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 4 13:52:57 CET 2019


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

--- Comment #15 from Rudolf Byker <rudolfbyker at gmail.com> ---
Not just your fault. I proposed the fix without checking which distributions
Koha is supposed to support.

We have a conflict between trying to support the old DBs vs the new DBs,
because as I mentioned above, the latest versions of MySQL and MariaDB fail on
"GRANT USAGE" if the user does not exist, which is problematic.

Maybe we should check the MySQL version, and then run the appropriate code in
response to that. It's a simple IF statement. One day, when oldstable has moved
on to the next release, the old code and the IF statement can simply be
removed.

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


More information about the Koha-bugs mailing list