• Support
  • MySQL MariaDB Not Installed After I Try To 3 Times Installing It!

--2024-07-10 06:12:02-- https://jp1-node.bt.cn/soft/mysql/mariadb_10.11/ubuntu-24-mysql-mariadb_10.11.tar.gz
Resolving jp1-node.bt.cn (jp1-node.bt.cn)... 45.76.53.20
Connecting to jp1-node.bt.cn (jp1-node.bt.cn)|45.76.53.20|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-07-10 06:12:02 ERROR 404: Not Found.

It is recommended to use mysql first, which is not supported by ubuntu 24.
SobatWP

    aaPanel_Kern I just tried reinstalling the VPS and using Ubuntu version 22 and reinstalling Aapanel. Here's Ubuntu 22 from Aapanel that I installed:

    then I still encountered the same problem, namely mariadb could not be installed and the error log was not detailed like this:

    ===

    --2024-07-10 08:49:47-- https://node.aapanel.com/install/4/mysql.sh
    Resolving node.aapanel.com (node.aapanel.com)... 2606:4700:3031::6815:4fc4, 2606:4700:3034::ac43:ab07, 172.67.171.7, ...
    Connecting to node.aapanel.com (node.aapanel.com)|2606:4700:3031::6815:4fc4|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 22702 (22K) [application/octet-stream]
    Saving to: ‘mysql.sh’

    0K .......... .......... .. 100% 146M=0s

    2024-07-10 08:49:47 (146 MB/s) - ‘mysql.sh’ saved [22702/22702]

    selecting download node...
    https://download.bt.cn
    selecting download node...
    系统不支持安装mariadb!
    请选择安装mysql-5.5/5.7/8.0!
    |-Successify --- Command executed! ---

    Can mariadb really no longer be used? should I use MySQL instead?

    Thanks

      Yes, the panel is not friendly to the installation of mariaDB. It is recommended that you use mysql first.

      SobatWP

        aaPanel_Kern okay, but there is a problem, I can't install mysql v8 because there is a warning that the minimum RAM is 6GB. while my VPS only has 4GB RAM. (can be seen in the picture above)

        Is it ok if I force install mysql version 8?

        Thank You

          It is recommended to use mysql5.7
          Or use Express Install and ignore configuration
          touch /www/server/panel/install/i_mysql.pl

          SobatWP

            Whats excat the problem with Mariadb? I use MariaDB since a long time and never had any issues.

            Maybe you seperate MariaDB from MySQL installation, then it should work

            2 months later

            I tried to setup Mariadb 11.3 , deleted mysql , installed Mysql app with Mariadb selection,in compiled method, i was waiting about 5-8 minutes, and procedure finished.
            I can see now Mariadb on panel.
            But I'm a bit skeptical. When I went to verify the installation through the server, I found this—it recognizes it as MySQL running MariaDB. Is this correct? Doesn't this create some kind of conflict? Is this why most people generally encounter problems with the installation?

            dedicated ~ # mariadb --version
            -bash: /usr/bin/mariadb: No such file or directory
            dedicated ~ # mysql --version
            mysql: Deprecated program name. It will be removed in a future release, use '/www/server/mysql/bin/mariadb' instead mysql from 11.3.2-MariaDB, client 15.2 for Linux x86_64) using readline 5.1
              10 days later
              a month later

              Which version of MySQL or MariaDB plus phpMyAdmin should I put on aaPanel 7.0.11 with Ubuntu 24.04 LTS?

                I didn't want to experiment, the stable operation of the components/apps is important to me.

                  a month later

                  On Ubuntu 22.04 use mariadb 10.6.

                  For other ubuntu version you can check built-in mariadb version using: apt install mariadb-server, then choose N.

                    Fresh Install Ubuntu 22, Support All MySQL and MariaDB 😎

                      aaP_web.nawi not really...tested on ubuntu 22 the following:
                      mariadb 10.6 - 11 all returns "not supported message" asking to change to mysql 5/7/8. aapanel 7.0.12