{"id":3515,"date":"2026-10-01T09:23:44","date_gmt":"2026-10-01T07:23:44","guid":{"rendered":"https:\/\/digitalia.culturanuova.net\/blog\/?p=3515"},"modified":"2026-10-01T09:24:02","modified_gmt":"2026-10-01T07:24:02","slug":"mariadb-problem-after-upgrading-to-a-linux-lts-release","status":"publish","type":"post","link":"https:\/\/digitalia.culturanuova.net\/blog\/?p=3515","title":{"rendered":"Mariadb problem after upgrading to a linux lts release"},"content":{"rendered":"\n<p>If after a major upgrade (typically to a new LTS release) your maridb local server doesn\u2019t work any more, it could be a problem of <strong>AppArmor<\/strong> settings.<\/p>\n\n\n\n<p>To solve it you can try with<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo nano \/etc\/apparmor.d\/tunables\/alias<\/code><\/pre>\n\n\n\n<p>and then, add the end of that file<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>alias \/var\/lib\/mysql\/ -&gt; \/your\/mysql-data\/path\/,<\/code><\/pre>\n\n\n\n<p>and then<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl reload apparmor<\/code><\/pre>\n\n\n\n<p>and<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl start mariadb<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>If after a major upgrade (typically to a new LTS release) your maridb local server doesn\u2019t work any more, it could be a problem of AppArmor settings. To solve it you can try with and then, add the end of that file and then and<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[579,647,566],"tags":[1027,34,11],"class_list":["post-3515","post","type-post","status-publish","format-standard","hentry","category-database","category-linux","category-webmaster","tag-apparmor","tag-mariadb","tag-mysql"],"_links":{"self":[{"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3515","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3515"}],"version-history":[{"count":2,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3515\/revisions"}],"predecessor-version":[{"id":3517,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3515\/revisions\/3517"}],"wp:attachment":[{"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3515"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3515"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digitalia.culturanuova.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}