Fix PHP8.4/MySQL 8 build

Closes #3556147

Merge request reports

Loading