How do I create an SQL instance on Centos 7 and make it available for other applications to connect to

Posted August 28, 2018 1.7k views

I have been having trouble for weeks trying to do this, can someone please help.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hey friend!

On CentOS 7 you’re most likely going to want to break away from MySQL and use MariaDB. Don’t worry, you won’t notice the difference, for your purpose it’s going to be exactly the same and you’re only going to reference it that one time while installing it. We have a tutorial that can help here:


by Melissa Anderson
MariaDB is an open-source database management system, commonly installed as part of the popular LEMP stack. In this tutorial, we will explain how to install the latest version of MariaDB on a CentOS 7 server. If you specifically need MySQL, see the [How to Install MySQL on CentOS 7]( guide. If you're wondering about MySQL vs. MariaDB, MariaDB is the preferred package and in general will work seamlessly in place