<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.williams-net.org/index.php?action=history&amp;feed=atom&amp;title=MariaDB</id>
	<title>MariaDB - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.williams-net.org/index.php?action=history&amp;feed=atom&amp;title=MariaDB"/>
	<link rel="alternate" type="text/html" href="https://wiki.williams-net.org/index.php?title=MariaDB&amp;action=history"/>
	<updated>2026-06-01T04:51:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://wiki.williams-net.org/index.php?title=MariaDB&amp;diff=169&amp;oldid=prev</id>
		<title>DrEdWilliams at 04:09, 29 December 2019</title>
		<link rel="alternate" type="text/html" href="https://wiki.williams-net.org/index.php?title=MariaDB&amp;diff=169&amp;oldid=prev"/>
		<updated>2019-12-29T04:09:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:09, 29 December 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= WilliamsNet MariaDB General Database =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= WilliamsNet MariaDB General Database =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This is a mostly standard deployment of MariaDB using the bitnami helm chart.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This is a mostly standard deployment of MariaDB using the bitnami helm chart &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(https://hub.kubeapps.com/charts/bitnami/mariadb)&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The primary customization is the use of fixed PVs since the production cluster does not support dynamic provisioning of PVs.  The custom &amp;#039;values.yaml&amp;#039; reflects those changes as well as a couple other minor updates.  The MariaDB installation is also placed in its own namespace.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The primary customization is the use of fixed PVs since the production cluster does not support dynamic provisioning of PVs.  The custom &amp;#039;values.yaml&amp;#039; reflects those changes as well as a couple other minor updates.  The MariaDB installation is also placed in its own namespace.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>DrEdWilliams</name></author>
	</entry>
	<entry>
		<id>https://wiki.williams-net.org/index.php?title=MariaDB&amp;diff=167&amp;oldid=prev</id>
		<title>DrEdWilliams: added MariaDB configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.williams-net.org/index.php?title=MariaDB&amp;diff=167&amp;oldid=prev"/>
		<updated>2019-12-29T01:20:26Z</updated>

		<summary type="html">&lt;p&gt;added MariaDB configuration&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= WilliamsNet MariaDB General Database =&lt;br /&gt;
&lt;br /&gt;
This is a mostly standard deployment of MariaDB using the bitnami helm chart.&lt;br /&gt;
&lt;br /&gt;
The primary customization is the use of fixed PVs since the production cluster does not support dynamic provisioning of PVs.  The custom &amp;#039;values.yaml&amp;#039; reflects those changes as well as a couple other minor updates.  The MariaDB installation is also placed in its own namespace.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
# Create the namespace&lt;br /&gt;
# Create the PV&lt;br /&gt;
# Use helm to install the application&lt;br /&gt;
&lt;br /&gt;
The script &amp;#039;install.sh&amp;#039; performs these steps with the correct parameters in the right order.&lt;br /&gt;
&lt;br /&gt;
== Uninstall ==&lt;br /&gt;
&lt;br /&gt;
If the deployment needs to be removed:&lt;br /&gt;
&lt;br /&gt;
# Use helm to uninstall the application (don&amp;#039;t forget the &amp;#039;--purge&amp;#039; option)&lt;br /&gt;
# Remove the PV and PVC using &amp;#039;kubectl delete -f&amp;#039;&lt;br /&gt;
# Delete the namespace using &amp;#039;kubectl delete ns mariadb&amp;#039;&lt;br /&gt;
&lt;br /&gt;
This leaves the database files in place, should you want to reinstall.  if you are trying to reset the app due to a configuration issue, you may need to go in and delete the files from the  directory (/shared/mariadb) ... but that will erase ALL content ... so beware.&lt;br /&gt;
&lt;br /&gt;
== Reinstall ==&lt;br /&gt;
&lt;br /&gt;
Reinstalling the application on top of an existing database/configuration is problematic for two reasons, both of them relating to the database passwords:&lt;br /&gt;
&lt;br /&gt;
# Unless you provide passwords, the helm chart will generate new random passwords for each install -- which will not line up with the old passwords in the database that is still around.&lt;br /&gt;
# The LocalSettings.php file is where the mediawiki app itself stores the password for the database (in clear text ...) -- so even if the app is reinstalled, the LocalSettings.php is not overwritten, and therefore the old password is still there.&lt;br /&gt;
&lt;br /&gt;
You can solve this problem before you start by simply specifying the passwords in the &amp;#039;values.yaml&amp;#039; file:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;db.password&amp;#039; = &amp;#039;&amp;lt;password&amp;gt;&amp;#039;&lt;br /&gt;
* &amp;#039;db.rootUser.password&amp;#039; = &amp;#039;&amp;lt;rootpassword&amp;gt;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If you forget to do this (or somehow the database passwords get changed) you will have to access the database from OUTSIDE the pod and reset the root password using any of the multiple web pages that tell you how to do it.  THEN, you will have to update the secret &amp;#039;mariadb&amp;#039; with the new passwords (if the application is installed) or set it in the values.html files before you reinstall.&lt;/div&gt;</summary>
		<author><name>DrEdWilliams</name></author>
	</entry>
</feed>