How to upgrade MySQL to MariaDB on DirectAdmin

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

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

Where MariaDB can be 5.5, 10.0, 10.1, 10.2, 10.3, or 10.4

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.

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to reinstall DirectAdmin in your web server?

Run the following commands to install: cd /usr/local/directadmin./directadmin i./directadmin p

How to install imagick with custombuild of DA?

Run the following command: cd /usr/local/directadmin/custombuild ./build update ./build...

The service ‘exim’ on server xxx is currently down

Rebuild your exim. cd /usr/local/directadmin/custombuild./build update./build set exim...

Change DA port to your choice where CSF installed

Here I will show you how to change the port from 2222 to 9999 in two steps. Step One:...

How to migrate cPanel account to DirectAdmin?

The cPanel conversion script currently only works for Admin Level restores. You must have to be...