Step 1. Do a server backup. shit things can go wrong

Step 2.

[cc lang=”bash”]cd /usr/local/directadmin/custombuild
nano options.conf[/cc]

Modify the following in options.conf:

[cc lang=”bash”]mysql=5.1
mysql_inst=yes
mysql_backup=yes[/cc]
Where mysql= can be 5.1, 5.0 or 4.1.

Step 3. Save/exit, then type:

[cc lang=”bash”]./build mysql[/cc]
After the mysql update, always recompile php.

[cc lang=”bash”]./build php n[/cc]