Step1: Login to WHM.
Step2: Go to Home >> SQL Services >> MySQL/MariaDB Upgrade
Step3: Select the version you wish to upgrade to and click on Continue.
Step4: Select the type of upgrade that you wish to perform and click on Continue.
Step5: The upgrade process interface appears, follow the instructions and then click Continue.