I also ran into this error, and we’re not alone: Error updating Mautic 2.16.4 to 3.2
There is an issue report: SQL Syntax Error when Update to 3.1.0 · Issue #9180 · mautic/mautic · GitHub I just posted a workaround there that worked for me, but I’m not entirely certain that it’s the “right” way, so please do make a backup and thoroughly test things afterwards.