Upgrade mysql Directadmin
To upgrade mysql in Directadmin, follow the steps below.
SSH to the server as root and do the following
-----------
cd /usr/local/directadmin/custombuild
./build set mysql 5.1
./build set mysql_inst yes
./build set mysql_backup yes
./build update
./build mysql
-----------
After the mysql update, always recompile php.
------
./build php n
------