zoneminder 1.32.3-2build1 does not work with MySQL 8
Bug #1859295 reported by
Joseph Yasi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zoneminder (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The zoneminder 1.32.3-2 package was rebuilt against MySQL for eoan. However, zoneminder 1.32.3 is incompatible with MySQL 8. The database uses several reserved keywords as table and column names that are not escaped with backticks in php, perl and C++ code in the project. Reserved keywords include Function, Groups and System. It also uses the MySQL password command which is no longer available in MySQL.
It doesn't look like the package was tested after doing the rebuild against MySQL 8.
I've backported a patch to 1.32.3 from upstream git master. I'm not sure it's complete, but it works for my use cases.
Related branches
~ahasenack/ubuntu/+source/zoneminder:focal-zoneminder-mysql8
Merged
into
~ahasenack/ubuntu/+source/zoneminder:master
at
revision ebdcb0ab8587f01cf4c6b448bf0d5773e2be7dcf
- Christian Ehrhardt (community): Approve
- Canonical Server: Pending requested
-
Diff: 569 lines (+484/-4)9 files modifieddebian/README.Debian (+9/-2)
debian/changelog (+14/-0)
debian/control (+2/-1)
debian/patches/mysql8-password-deprecated.patch (+26/-0)
debian/patches/mysql8-replace-password-call.patch (+58/-0)
debian/patches/mysql8-reserved-keywords.patch (+326/-0)
debian/patches/mysql8_my_bool.patch (+43/-0)
debian/patches/series (+4/-0)
debian/rules (+2/-1)
To post a comment you must log in.
Upstream bug reports: /github. com/ZoneMinder/ zoneminder/ issues/ 2685 /github. com/ZoneMinder/ zoneminder/ issues/ 2659 /github. com/ZoneMinder/ zoneminder/ issues/ 2658
https:/
https:/
https:/