Search Our Database

How to Upgrade MySQL Version with DirectAdmin CustomBuild

Last updated on |

If your server has DirectAdmin installed as the control panel with the CustomBuild plugin, MySQL can be updated with the following steps:


1. Navigate to the custombuild folder

# cd /usr/local/DirectAdmin/custombuild


2. Edit the options.conf as below:

# mysql=5.1 
# mysql_inst=yes
# mysql_backup=yes

**MySQL: possible values are 5.0, 5.1, 5.3, 5.5, 5.6


3. Build MySQL with the following command:

# ./build mysql


4. After compiling MySQL, recompile PHP with the following command:

# ./build php n