elgg install, database version error

Hi, I'm attempting to install elgg on Linux Mint. After failing using the installer, I've had more success with this tutorial: https://www.tecmint.com/elgg-create-social-networking-platform-in-ubuntu/ (although taking care not to put the data directory under /www/).

However, I'm now getting this error on the database installation page, "Database must be version 10.6 or above. Your server is using 5.5.5-10.6.21-MariaDB-0ubuntu0.22.04.2."

I'm clearly using version 10.6.21, so I'm guessing this 5.5.5 "prefix hack", as I've heard it called, is tripping it up. Is there any way to bypass this? Could the issue be something else?

Thanks