MySQL 8 error in pure-ftpd
Pure-FTPd uses this query (expires IS NULL OR expires="0000-00-00 00:00:00" OR expires > NOW())
which fails on MySQL 8 because of the zero values.
Proposed fix: Check/Change default value to NULL
in sql and UPDATE all existing zero-filled rows to NULL.