MariaDB Installation: Difference between revisions
Jump to navigation
Jump to search
(→RHEL 7) |
|||
Line 2: | Line 2: | ||
* [[MariaDB]] | * [[MariaDB]] | ||
=Linux= | |||
=Prerequisites= | =Prerequisites= |
Revision as of 03:30, 25 December 2023
Internal
Linux
Prerequisites
- The host name should be resolvable with resolveip.
RHEL 7
yum install -y mariadb-server mariadb
⚠️ After installation, makes sure you go through the post install steps, described below.
Post-Install
Uninstallation
Uninstallation with state removal:
systemctl stop mariadb.service
systemctl disable mariadb.service
yum remove mariadb-server mariadb
# remove data
rm -r /var/lib/mysql
# remove logs
rm -r /var/log/mariadb
rm -r /var/run/mariadb