AAPANEL initially I installed MYSQL8. After that, I removed MYSQL8 to reinstall Mariadb (10.x), but there were errors when installing at the interface. I installed from command and got the following error.

bash /www/server/panel/install/mysql.sh install mariadb_10.4

Does AAPANEL have any solution for me?

    a month later

    Update: 02/06/2024

    this is how i reinstalled mariadb 10.x. If you are getting errors while installing, try the same commands as me

    mv /www/server/data /www/server/data.bak
    mv /www/server/mysql /www/server/mysql.bak
    mv /etc/my.cnf /etc/my.cnf.bak
    mv /run/systemd/generator.late/multi-user.target.wants/mysqld.service /run/systemd/generator.late/multi-user.target.wants/mysqld.service.bak
    
    ps auxf | grep mysqld
    pkill -9 mysqld
    
    mv /www/server/panel/install/mysql.sh /www/server/panel/install/mysql.sh.bak
    cd /www/server/panel/install/
    wget https://node.aapanel.com/install/1/mysql.sh --no-check-certificate
    bash mysql.sh install mariadb_10.11

    8 months later
    Connect with us: 📨 Telegram 💬 Discord Email: support@aapanel.com