

You can learn more about how to set up a user with these privileges in the Initial Server Setup with CentOS 7 guide.Īs mentioned in the introduction, the Yum command to install MySQL in fact installs MariaDB. A CentOS 7 with a non-root user with sudo privileges.This tutorial will explain how to install MySQL version 8 on a CentOS 7 server. MariaDB, MariaDB will generally work seamlessly in place of MySQL, so unless you have a specific use-case for MySQL, see the How To Install MariaDB on Centos 7 guide. If you run yum install mysql on CentOS 7, it is MariaDB that is installed rather than MySQL. It uses a relational database and SQL (Structured Query Language) to manage its data.ĬentOS 7 prefers MariaDB, a fork of MySQL managed by the original MySQL developers and designed as a replacement for MySQL. MySQL is an open-source database management system, commonly installed as part of the popular LEMP (Linux, Nginx, MySQL/MariaDB, PHP/Python/Perl) stack.
