How to install MySQL on CentOS

Assuming you’d like to run WordPress on your very own vanilla CentOS system, open a terminal window and do the following:

You have to be logged on as root to do this.

The next thing you probably want to do is create a database so you can run WordPress on it. As you may know, we need phpMyAdmin to do this, so we’ll install that next:

In case it doesn’t work, phpmyadmin is available from EPEL or RPM Forge – check out this article if you haven’t got it on your system.

Now we need to restart apache so it’ll know about his new companion:

Excellent! We’re getting there. Now let’s create that database….

Well, I’m stuck here! I’ll let you know when I’ve figured it out. Until then, happy googling 😉

About Jay Versluis

Jay is a medical miracle known as a Super Survivor. He runs two YouTube channels, five websites and several podcast feeds. To see what else he's up to, and to support him on his mission to make the world a better place, check out his Patreon Campaign.

6 thoughts on “How to install MySQL on CentOS

Add your voice!