In order to upgrade MySQL version on Direct Admin Server, kindly follow the below given steps ::
First navigate to custombuild folder
1) [[email protected]]# cd /usr/local/directadmin/custombuild
2) Edit the options.conf file and perform following changes.
******************
mysql=5.5
mysql_inst=yes
mysql_backup=yes
******************
Note :: values can be 5.0, 5.1, 5.3, 5.5
3) save options.conf file and build mysql using following command
***********
[[email protected] custombuild]#./build mysql
***********
4) After compiling mysql, also recompile the php.
***********
[[email protected] custombuild]# ./build php n
***********
Thats it, you have done. Enjoy..................

Nathan S.
EUKHOST
First navigate to custombuild folder
1) [[email protected]]# cd /usr/local/directadmin/custombuild
2) Edit the options.conf file and perform following changes.
******************
mysql=5.5
mysql_inst=yes
mysql_backup=yes
******************
Note :: values can be 5.0, 5.1, 5.3, 5.5
3) save options.conf file and build mysql using following command
***********
[[email protected] custombuild]#./build mysql
***********
4) After compiling mysql, also recompile the php.
***********
[[email protected] custombuild]# ./build php n
***********
Thats it, you have done. Enjoy..................

Nathan S.
EUKHOST