<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://briansnelson.com/index.php?action=history&amp;feed=atom&amp;title=Install_Mysql_Database_Centos_7</id>
		<title>Install Mysql Database Centos 7 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://briansnelson.com/index.php?action=history&amp;feed=atom&amp;title=Install_Mysql_Database_Centos_7"/>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Install_Mysql_Database_Centos_7&amp;action=history"/>
		<updated>2026-06-04T08:59:47Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://briansnelson.com/index.php?title=Install_Mysql_Database_Centos_7&amp;diff=782&amp;oldid=prev</id>
		<title>Brian: Created page with &quot;==Install Mysql Database on Centos 7==  MySQL is a popular choice of database for use in web applications, and is a central component of the widely used LAMP open source web a...&quot;</title>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Install_Mysql_Database_Centos_7&amp;diff=782&amp;oldid=prev"/>
				<updated>2014-07-09T19:48:22Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Install Mysql Database on Centos 7==  MySQL is a popular choice of database for use in web applications, and is a central component of the widely used LAMP open source web a...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Install Mysql Database on Centos 7==&lt;br /&gt;
&lt;br /&gt;
MySQL is a popular choice of database for use in web applications, and is a central component of the widely used LAMP open source web application software stack (and other 'AMP' stacks). LAMP is an acronym for &amp;quot;Linux, Apache, MySQL, Perl/PHP/Python.&amp;quot; Free-software-open source projects that require a full-featured database management system often use MySQL.&lt;br /&gt;
&lt;br /&gt;
Not yet in the repos list, so I had to download the lastest MySQL yum repo for mysql from http://dev.mysql.com/downloads/repo/yum/&lt;br /&gt;
&lt;br /&gt;
At the time of this article it was mysql-community-release-el7-5.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
===Install MySQL repo===&lt;br /&gt;
&lt;br /&gt;
You can download that from our server&lt;br /&gt;
&lt;br /&gt;
 wget http://briansnelson.com/stuff/mysql-community-release-el7-5.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
 yum localinstall mysql-community-release-el7-5.noarch.rpm&lt;br /&gt;
&lt;br /&gt;
===Install MySQL via Yum===&lt;br /&gt;
&lt;br /&gt;
 yum install mysql-server mysql&lt;br /&gt;
&lt;br /&gt;
===Enable MySQL to start on boot===&lt;br /&gt;
&lt;br /&gt;
 systemctl enable mysqld.service&lt;br /&gt;
&lt;br /&gt;
You should see something like the following:&lt;br /&gt;
&lt;br /&gt;
 ln -s '/usr/lib/systemd/system/mysqld.service' '/etc/systemd/system/mysql.service'&lt;br /&gt;
 ln -s '/usr/lib/systemd/system/mysqld.service' '/etc/systemd/system/multi-user.target.wants/mysqld.service'&lt;br /&gt;
&lt;br /&gt;
===Disable MySqL from start on boot===&lt;br /&gt;
&lt;br /&gt;
 systemctl disable mysqld.service&lt;br /&gt;
&lt;br /&gt;
You should see something like the following:&lt;br /&gt;
&lt;br /&gt;
 rm '/etc/systemd/system/multi-user.target.wants/mysqld.service'&lt;br /&gt;
 rm '/etc/systemd/system/mysql.service'&lt;br /&gt;
&lt;br /&gt;
===Start/Stop/Restart MySQL===&lt;br /&gt;
&lt;br /&gt;
Start&lt;br /&gt;
 systemctl start mysqld.service&lt;br /&gt;
&lt;br /&gt;
Stop&lt;br /&gt;
 systemctl stop mysqld.service&lt;br /&gt;
&lt;br /&gt;
Restart&lt;br /&gt;
 systemctl restart mysqld.service&lt;br /&gt;
&lt;br /&gt;
===Check if MySQL is running===&lt;br /&gt;
&lt;br /&gt;
 systemctl is-active mysqld.service&lt;/div&gt;</summary>
		<author><name>Brian</name></author>	</entry>

	</feed>