<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Mysql on Puppeteers Oy</title>
		<link>https://www.puppeteers.net/tags/mysql/</link>
		<description>Recent content in Mysql on Puppeteers Oy</description>
		<generator>Hugo</generator>
		<language>en-US</language>
		
		
		
		
			<lastBuildDate>Fri, 19 Aug 2022 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://www.puppeteers.net/tags/mysql/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Finding which MySQL/MariaDB tables are modified by a GUI</title>
				<link>https://www.puppeteers.net/blog/finding-which-mysql-mariadb-tables-are-modified-by-a-gui/</link>
				<pubDate>Fri, 19 Aug 2022 00:00:00 +0000</pubDate>
				<guid>https://www.puppeteers.net/blog/finding-which-mysql-mariadb-tables-are-modified-by-a-gui/</guid>
				<description>&lt;p&gt;I was working with &lt;a href=&#34;https://www.keycloak.org/&#34;&gt;Keycloak&lt;/a&gt; realm private/public key automation and it was not immediately obvious where Keycloak stores the keys. Figuring it out was actually easy, and this method applies to any web application that uses MySQL/MariaDB, not just Keycloak.&lt;/p&gt;&#xA;&lt;p&gt;Anyhow, on Ubuntu, you&amp;rsquo;d navigate to &lt;em&gt;/var/lib/mysql/name-of-database&lt;/em&gt;. For example:&lt;/p&gt;&#xA;&lt;div class=&#34;code-block&#34;&gt;&#xA;    &lt;button class=&#34;code-copy&#34; type=&#34;button&#34; hidden aria-label=&#34;Copy code to clipboard&#34;&gt;&#xA;      &lt;span class=&#34;code-copy-label&#34; aria-hidden=&#34;true&#34;&gt;Copy&lt;/span&gt;&#xA;    &lt;/button&gt;&#xA;    &lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;cd /var/lib/mysql/keycloak&lt;/code&gt;&lt;/pre&gt;&#xA;  &lt;/div&gt;&lt;p&gt;Make sure that no changes have been made recently (within one minute):&lt;/p&gt;&#xA;&lt;div class=&#34;code-block&#34;&gt;&#xA;    &lt;button class=&#34;code-copy&#34; type=&#34;button&#34; hidden aria-label=&#34;Copy code to clipboard&#34;&gt;&#xA;      &lt;span class=&#34;code-copy-label&#34; aria-hidden=&#34;true&#34;&gt;Copy&lt;/span&gt;&#xA;    &lt;/button&gt;&#xA;    &lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ find -mmin -1&lt;/code&gt;&lt;/pre&gt;&#xA;  &lt;/div&gt;&lt;p&gt;Then go to the web application and change whatever you&amp;rsquo;re trying to locate from the database. Here I changed the Keycloak RSA key priority. Then run the find command again:&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
