Downgrading Mysql 8 to MariaDB10 on DirectAdmin

In order to have a smooth downgrade on the DA server. You will need to perform the following

Stop mysql;

service mysqld stop

mv /var/lib/mysql /var/lib/mysql.bak

Edit my.cnf, comment out
mysql_native_password=ON

Run

da build mysql