Hello, you need to back up the database, user name and password and delete the database before switching. The website cannot connect to the database. After the switch is completed, create a new database with the same user and password. Finally, restore the database.
It is not recommended to change to mariaDB. The current panel mysql is newer than mariaDB.
turantaib