MariaDB installation in a different directory using RPMs
I am trying to install MariaDB using RPMs packages in a user created directory but i am not able to do it. Is it possible to do it?? i have tried --prefix option but couldnt start the mysql service and also yum --installroot option but couldnt start the service. Please suggest a way to do it if its possible
Answer
while you can install RPM anywhere, the location for configuration files, for example, is always /etc
, not @your_prefix@/etc
.
If you want to install locally, it's best to use a tarball, you can download it from https://downloads.mariadb.org/
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.