<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Control WebPanel Wiki &#187; MariaDB 10.1</title>
	<atom:link href="http://wiki.centos-webpanel.com/tag/mariadb-10-1/feed" rel="self" type="application/rss+xml" />
	<link>http://wiki.centos-webpanel.com</link>
	<description>CentOS WebPanel Wiki</description>
	<lastBuildDate>Wed, 12 Feb 2025 20:38:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>MariaDB Upgrade from 10.1 to 10.2</title>
		<link>http://wiki.centos-webpanel.com/mariadb-upgrade-from-10-1-to-10-2</link>
		<comments>http://wiki.centos-webpanel.com/mariadb-upgrade-from-10-1-to-10-2#comments</comments>
		<pubDate>Wed, 09 Dec 2020 06:32:51 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[MariaDB 10.1]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=1523</guid>
		<description><![CDATA[Verify if MariaDB 10.1 is installed rpm -qa&#124;grep -i maria&#124;grep "\-10.1." Upgrade service mysql stop service mariadb stop systemctl disable mariadb rpm --nodeps -ev MariaDB-server yum -y install MariaDB-server yum -y update "MariaDB-*" systemctl enable mariadb service mariadb start mysql_upgrade Check for the custom configuration diff -Bw /etc/my.cnf.d/server.cnf.rpmsave /etc/my.cnf.d/server.cnf Verify upgraded packages rpm -qa&#124;grep -i [&#8230;]]]></description>
				<content:encoded><![CDATA[<div class="st-alert st-alert- ">
Before starting an upgrade please confirm that you have the backup of MySQL databases and users. Default backup is in the folder /backup/mysql
</div>
<p>Verify if MariaDB 10.1 is installed</p>
<pre>rpm -qa|grep -i maria|grep "\-10.1."</pre>
<p>Upgrade</p>
<pre>
service mysql stop
service mariadb stop
systemctl disable mariadb
rpm --nodeps -ev MariaDB-server
yum -y install MariaDB-server
yum -y update "MariaDB-*"
systemctl enable mariadb
service mariadb start
mysql_upgrade
</pre>
<p>Check for the custom configuration</p>
<pre>diff -Bw /etc/my.cnf.d/server.cnf.rpmsave /etc/my.cnf.d/server.cnf
</pre>
<p>Verify upgraded packages</p>
<pre>rpm -qa|grep -i maria|grep "\-10.2."</pre>
<p>The output should look like this</p>
<pre>
MariaDB-compat-10.2.36-1.el7.centos.x86_64
MariaDB-server-10.2.36-1.el7.centos.x86_64
MariaDB-common-10.2.36-1.el7.centos.x86_64
MariaDB-shared-10.2.36-1.el7.centos.x86_64
MariaDB-client-10.2.36-1.el7.centos.x86_64
</pre>
]]></content:encoded>
			<wfw:commentRss>http://wiki.centos-webpanel.com/mariadb-upgrade-from-10-1-to-10-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
