<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Database on Matus Stafura</title>
    <link>https://stafura.dev/tags/database/</link>
    <description>Recent content in Database on Matus Stafura</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <lastBuildDate>Thu, 16 Jul 2026 07:59:24 +0200</lastBuildDate>
    <atom:link href="https://stafura.dev/tags/database/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Automatically Restart MariaDB on Crash in Ubuntu with systemd</title>
      <link>https://stafura.dev/auto-restart-mariadb-ubuntu-systemd/</link>
      <pubDate>Thu, 16 Jul 2026 07:59:24 +0200</pubDate>
      <guid>https://stafura.dev/auto-restart-mariadb-ubuntu-systemd/</guid>
      <description>&lt;h2 id=&#34;why-do-you-need-to-autorestart-db&#34;&gt;Why do you need to autorestart DB?&lt;/h2&gt;&#xA;&lt;p&gt;Database can crash from any problems like when the system runs out of memory, full disk and so on. And the website will be down until you notice it and restart the database manually.&lt;/p&gt;&#xA;&lt;p&gt;The bare minimum you can do is to set it to restart automatically in Linux with systemd.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Note that this will not start DB when it is manually stopped.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
