Use MySQL instead of Maria DB (?)

Vinion

New member
Joined
Jul 18, 2022
Messages
22
Hello,
I want to completely remove (if possible) MariaDB and use MySQL Community Edition, instead.

Is the following command enough to do so ?
cd /usr/local/directadmin/custombuild
./build mysql

Thank you
 
CustomBuild 2.0 comes with the following output when I try to build mysql

1658399426780.png
 
Is DirectAdmin "binded" to MariaDB or I can use somehow manage to use MySQL?
 
The following screenshot shows that I have mysql_inst tagged to mysql, inside the CustomBuild 2.0 tab
1658400005348.png

But... the result of mysql -V command is: -bash: mysql: command not found
And the result of mariadb -V command is: mariadb Ver 15.1 Distrib 10.6.8-MariaDB, for Linux (x86_64) using readline 5.1

I also followed this instructions on how to replace MariaDB with MySQL but seems this solution doesn't work

I believe this is a bug of CustomBuild 2.0 plugin.
 
If I install DA again with export DA_SKIP_MYSQL_INSTALL=true will it be better in order to install MySQL Later ?
 
I prefer interactive install to configure each parameter.
On already installed server - just change mysql inst to mysql, then build update, and build mysql
 
I believe I managed to run the interactive installation but the only thing asked me was
"Would you like the default settings of apache and php 8.1 as php-fpm? (yes/no, default: yes):yes"
 
if you answer - NO - it will provide you more menu for customization
 
Ok then.. I have completed the installation 24 times so far. Let's give it one more try...
 
Well... I run the installation wizard for 25th time.
This time I used the interactive installer.
I waited more than an hour in order the DirectAdmin to runn the appropriate services and installation finish.

MySQL now works but DirectAdmin doesn't. The CustomBuild Installation has failed.
The error once again is
virtual memory exhausted: Cannot allocate memory
make: *** [Makefile:1157: ext/fileinfo/libmagic/apprentice.lo] Error 1

1658408734493.png
 
2GB of RAM. Not sure about the swap. I am rebuilding the VPS at the moment and I will try for 26th time to install DirectAdmin.
Perhaps is a good idea to add a system requirements check at the beginning of installation in order to make things simpler for someone like me.
I am installing DirectAdmin 2 times/hour the last 3 days.

Now I get it why DA do not offer trial versions. If you buy it you will have some respect for the money you gave and you will do your best in order to install it. In the other hand CPanel will be installed in minutes on machines with 1GB of RAM and zero swap but you will pay them 10times more.
 
Now I get it why DA do not offer trial versions.
You are wrongly informed. DA does offer trial versions. Previously they were on the pricing page as seperate trial licenses. That is removed because there are several versions now. But it's still in the agreement. You pay, and you can get a refund if your not satisfied within 30 days.
A 30-day trial period is offered on all recurring licenses (those that are paid monthly, quarterly, or yearly). Please see our refund policy for more information.

Perhaps is a good idea to add a system requirements check at the beginning of installation
Perhaps it's a better idea to read installation docs before starting some installation? Where bear minimum requirements are mentioned?

P.s. I would suggest to set the mysql_backup option to yes if you're ready.
 
A minimum 1 GB of memory is required (2+ GB is preferred), with at least 2 GB of swap memory. = so total 3(4) GB
(CentOS 8: 2Gig required, 4+ Gig preferred). - new OS needs more RAM usually.
 
Hello,
I want to completely remove (if possible) MariaDB and use MySQL Community Edition, instead.

What happen when you run this as root in SSH.

Code:
cd /usr/local/directadmin/custombuild
./build set_fastest
./build clean
./build update
./build set mysql_backup yes
./build set "mysql" 8.0
./build set mysql_inst "mysql"
./build "mysql"
 
@Richard G I read all DA website the last 3 days. I never looked for the refund so I apologize if I said something wrong.
The most sure thing is that DA needs a lot of reading in order to make it work. It is not like the CPanel I use.
I visit CPanel website just to buy it and never go back for reading after.
 
Code:
cd /usr/local/directadmin/custombuild
./build set_fastest
./build clean
./build update
./build set mysql_backup yes
./build set "mysql" 8.0
./build set mysql_inst "mysql"
./build "mysql"
This doesn't work, I ve tested this solution earlier today.
./build "mysql" asks to install mysql 5.5 and then upgrade it to 8.0
 
Back
Top