by Ken Task.
Server running and older version of MySQL and it needs to be upgraded to 5.7. That is outside of Moodle and depends upon factors: how you are hosted? If shared hosting you probably cannot upgrade MySQL. Contact hosting provider for options. If a VM managed ... managed by provider, provider can upgrade (contact helpdesk of provider). If a VM un-managed by hosting, then you.
Done via package manager for your operating system ... like apt/apt-get (Ubuntu/Debian) or yum/dnf is RedHat Family based OS.
Hoping that helps!
'SoS', Ken