How to set Virtualmin to use Software collections MySQL / MariaDB ?

8 posts / 0 new
Last post
#1 Sun, 07/21/2019 - 07:51
applejack

How to set Virtualmin to use Software collections MySQL / MariaDB ?

How to set Virtualmin to use Software Collections MySQL / MariaDB ?

Sun, 07/21/2019 - 16:34
noisemarine

Virtualmin downloads from your distribution's repositories. Before installing Virtualmin, set up your repositories as desired.

That said, I've not used the repository you mention, so you may need to do some testing to check everything works as expected.

Mon, 07/22/2019 - 08:14
applejack

This is on an existing install and Software Collections allows you to install packages such as PHP and Mysql / MariaDB to a none standard location so it doesn't over-write existing packages.

Tue, 07/23/2019 - 04:13
noisemarine

I've not looked that closely under the hood of Virtualmin but I presume it uses the Webmin modules for a lot of tasks. You can change paths etc in the Module Config (gear icon) in the Webmin modules.

Tue, 07/23/2019 - 07:39
applejack

Thanks but I am a long time user of Webmin and I already tried changing various paths which is why I am asking.

/opt/rh/rh-mariadb100/root/usr/bin/mysqlshow
/opt/rh/rh-mariadb100/root/usr/bin/mysqladmin
/opt/rh/rh-mariadb100/root/usr/bin/mysqladmin
/opt/rh/rh-mariadb100/root/usr/bin/mysqldump
/opt/rh/rh-mariadb100/root/usr/bin/mysqlimport
/opt/rh/rh-mariadb100/root/usr/libexec/mysqld

service rh-mariadb100-mariadb start
service rh-mariadb100-mariadb stop

/var/opt/rh/rh-mariadb100/lib/mysql
/var/opt/rh/rh-mariadb100/lib/mysql/mysql.sock
/etc/opt/rh/rh-mariadb100/my.cnf

I can start this fine on the command line just not via Webmin

Wed, 07/24/2019 - 04:26
noisemarine

Ah, no problem. It could be helpful to others if you find a solution.

Wed, 07/24/2019 - 05:17
applejack

Well according to another post I saw from Joe this very site uses MariaDB from SCL so I'm kind of presuming that the admins here know.

Tue, 08/13/2019 - 11:28
applejack

I'm just bumping this in case there is anyone who may be able to shed light on this.