MariaDB Installation: Difference between revisions
Jump to navigation
Jump to search
Line 27: | Line 27: | ||
systemctl disable mariadb.service | systemctl disable mariadb.service | ||
yum remove mariadb-server mariadb | yum remove mariadb-server mariadb | ||
# remove data | |||
rm -r /var/lib/mysql | |||
# remove logs | |||
rm -r /var/log/mariadb | |||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 03:07, 30 March 2021
Internal
Prerequisites
- The host name should be resolvable with resolveip.
RHEL 7
yum install 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