Fresh install mysql 5.7

vacancy

Verified User
Joined
Jul 5, 2019
Messages
30
Hello there

Mariadb 5.5 comes by default in directadmin installation, i want to use mysql 5.7. I see errors when I update after installation. How to install mysql 5.7 instead of mariadb on first install?

Although I chose "mysql=5.7" and "mysql_inst mysql" in options.conf before installing, mariadb 5.5 is still installing.
 
Same issue I'm having.
You have to remove all mariadb instances. On a new installation it might be a bit easier. Try this.
Code:
rm -rf /var/lib/mysql
rm /usr/bin/mysql
rm /usr/sbin/msyqld
rm /usr/local/directadmin/custombuild/mysql
yum remove MariaDB*
rpm -e MariaDB*

Hopefully then everything is gone. Then it seems you have to install mysql 5.5 first.
Code:
cd /usr/local/directadmin/custombuild
./build set mysql 5.5
./build set mysql_inst mysql
./build update
./build mysql

Then you should have mysql 5.5 and it's just a question of updating like (still in the custombuild directory):
Code:
./build set mysql 5.6
./build update
./build mysql
and the same afterwards for mysql 5.7 and then you should have 5.7.
 
Back
Top