How to install MySQL server on CentOS 7

Order a new server

You can get a new server from ZetServers website.
For MySQL you can use one of our Unmetered VPS or Unmetered Dedicated Servers


To follow this tutorial, you will need:

  • A CentOS 7 with root or a non-root user with sudo privileges.

Installing MySQL server

$ yum install mysql-server

Starting MySQL

$ systemctl start mariadb

Setting MySQL to run on system boot

$ chkconfig mariadb on

Leave a Reply

Your email address will not be published. Required fields are marked *