If you want to upgrade the mysql on the cpanel server then follow the below steps.
- This is the best method to use the cpanel #/script/mysqlup for upgrade the mysql.
- To upgrade the mysql from 5.0.x to 5.1.x you need to enable the mysql upgrade in the whm under tweak setting
/scripts/upcp –force
/scripts/mysqlup –force