How to upgrade mariadb or mysql in directadmin

To upgrade  MariaDB using the custombuild script, do the following:

cd /usr/local/directadmin/custombuild
./build set mariadb 10.3
./build set mysql_inst mariadb
./build set mysql_backup yes
./build update
./build mariadb

./build php n

Where mariadb can be 5.5, 10.0, 10.1, 10.2 or 10.3

A full raw sql backup will be run prior to the upgrade if you have mysql_backup=yes set.  It goes without saying, always make backups, either with this tool, or with other means.

To upgrade  MySQL using the custombuild script, do the following:

cd /usr/local/directadmin/custombuild
./build set mysql 5.6
./build set mysql_inst mysql
./build set mysql_backup yes
./build update
./build mysql

./build php n

Where mysql can be 5.1, 5.5, or 5.6.

A full raw sql backup will be run prior to the upgrade if you have mysql_backup=yes set.  It goes without saying, always make backups, either with this tool, or with other means.



 2,953 total views,  3 views today

Comments

So empty here ... leave a comment!

Leave a Reply

Your email address will not be published. Required fields are marked *

Sidebar