{"id":10329,"date":"2023-04-21T07:18:38","date_gmt":"2023-04-20T22:18:38","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=10329"},"modified":"2023-05-09T08:37:33","modified_gmt":"2023-05-08T23:37:33","slug":"mariadb%e3%81%ae%e8%b5%b7%e5%8b%95%e3%81%a8%e5%81%9c%e6%ad%a2%e3%82%92%e8%a1%8c%e3%81%86%ef%bc%81%ef%bc%88rocky-linux-9%ef%bc%89","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/10329","title":{"rendered":"MariaDB\u306e\u8d77\u52d5\u3068\u505c\u6b62\u3092\u884c\u3046\uff01\uff08Rocky Linux 9\uff09"},"content":{"rendered":"<p>Rocky Linux 9\u3067\u7a3c\u50cd\u3059\u308bMariaDB\u306e\u8d77\u52d5\u3068\u505c\u6b62\u3092\u884c\u3044\u307e\u3059<br \/>\n<!--more--><\/p>\n<h2>MariaDB\u306e\u8d77\u52d5\u72b6\u614b\u3092\u78ba\u8a8d\u3059\u308b\uff01<\/h2>\n<p>MariaDB\u306e\u8d77\u52d5\u72b6\u614b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# systemctl status mariadb\r\n\u25cf mariadb.service - MariaDB 10.11.2 database server\r\n     Loaded: loaded (\/usr\/lib\/systemd\/system\/mariadb.service; enabled; vendor preset: disabled)\r\n    Drop-In: \/etc\/systemd\/system\/mariadb.service.d\r\n             \u2514\u2500migrated-from-my.cnf-settings.conf\r\n     Active: active (running) since Fri 2023-04-21 07:08:10 JST; 4min 2s ago\r\n       Docs: man:mariadbd(8)\r\n             https:\/\/mariadb.com\/kb\/en\/library\/systemd\/\r\n    Process: 757 ExecStartPre=\/bin\/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0\/SUCCE&gt;\r\n    Process: 769 ExecStartPre=\/bin\/sh -c &#x5B; ! -e \/usr\/bin\/galera_recovery ] &amp;&amp; VAR= ||   VAR=`cd \/usr\/bin\/..; \/usr\/bin\/g&gt;\r\n    Process: 874 ExecStartPost=\/bin\/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0\/SUCC&gt;\r\n   Main PID: 780 (mariadbd)\r\n     Status: &quot;Taking your SQL requests now...&quot;\r\n      Tasks: 8 (limit: 11062)\r\n     Memory: 233.6M\r\n        CPU: 166ms\r\n     CGroup: \/system.slice\/mariadb.service\r\n             \u2514\u2500780 \/usr\/sbin\/mariadbd\r\n<\/pre>\n<h2>MariaDB\u3092\u505c\u6b62\u3059\u308b\uff01<\/h2>\n<p>MariaDB\u3092\u505c\u6b62\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1,2]; title: ; notranslate\" title=\"\">\r\n# systemctl stop mariadb\r\n# systemctl status mariadb\r\n\u25cb mariadb.service - MariaDB 10.11.2 database server\r\n     Loaded: loaded (\/usr\/lib\/systemd\/system\/mariadb.service; enabled; vendor preset: disabled)\r\n    Drop-In: \/etc\/systemd\/system\/mariadb.service.d\r\n             \u2514\u2500migrated-from-my.cnf-settings.conf\r\n     Active: inactive (dead) since Fri 2023-04-21 07:15:37 JST; 13s ago\r\n   Duration: 7min 26.398s\r\n       Docs: man:mariadbd(8)\r\n             https:\/\/mariadb.com\/kb\/en\/library\/systemd\/\r\n    Process: 757 ExecStartPre=\/bin\/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0\/SUCCE&gt;\r\n    Process: 769 ExecStartPre=\/bin\/sh -c &#x5B; ! -e \/usr\/bin\/galera_recovery ] &amp;&amp; VAR= ||   VAR=`cd \/usr\/bin\/..; \/usr\/bin\/g&gt;\r\n    Process: 780 ExecStart=\/usr\/sbin\/mariadbd $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, sta&gt;\r\n    Process: 874 ExecStartPost=\/bin\/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0\/SUCC&gt;\r\n   Main PID: 780 (code=exited, status=0\/SUCCESS)\r\n     Status: &quot;MariaDB server is down&quot;\r\n        CPU: 210ms\r\n<\/pre>\n<h2>MariaDB\u3092\u8d77\u52d5\u3059\u308b\uff01<\/h2>\n<p>MariaDB\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1,2]; title: ; notranslate\" title=\"\">\r\n# systemctl start mariadb\r\n# systemctl status mariadb\r\n\u25cf mariadb.service - MariaDB 10.11.2 database server\r\n     Loaded: loaded (\/usr\/lib\/systemd\/system\/mariadb.service; enabled; vendor preset: disabled)\r\n    Drop-In: \/etc\/systemd\/system\/mariadb.service.d\r\n             \u2514\u2500migrated-from-my.cnf-settings.conf\r\n     Active: active (running) since Fri 2023-04-21 07:16:11 JST; 1s ago\r\n       Docs: man:mariadbd(8)\r\n             https:\/\/mariadb.com\/kb\/en\/library\/systemd\/\r\n    Process: 1506 ExecStartPre=\/bin\/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0\/SUCC&gt;\r\n    Process: 1507 ExecStartPre=\/bin\/sh -c &#x5B; ! -e \/usr\/bin\/galera_recovery ] &amp;&amp; VAR= ||   VAR=`cd \/usr\/bin\/..; \/usr\/bin\/&gt;\r\n    Process: 1525 ExecStartPost=\/bin\/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0\/SUC&gt;\r\n   Main PID: 1515 (mariadbd)\r\n     Status: &quot;Taking your SQL requests now...&quot;\r\n      Tasks: 10 (limit: 11062)\r\n     Memory: 165.7M\r\n        CPU: 176ms\r\n     CGroup: \/system.slice\/mariadb.service\r\n             \u2514\u25001515 \/usr\/sbin\/mariadbd\r\n<\/pre>\n<h2>MariaDB\u3092\u518d\u8d77\u52d5\u3059\u308b\uff01<\/h2>\n<p>MariaDB\u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1,2]; title: ; notranslate\" title=\"\">\r\n# systemctl restart mariadb\r\n# systemctl status mariadb\r\n\u25cf mariadb.service - MariaDB 10.11.2 database server\r\n     Loaded: loaded (\/usr\/lib\/systemd\/system\/mariadb.service; enabled; vendor preset: disabled)\r\n    Drop-In: \/etc\/systemd\/system\/mariadb.service.d\r\n             \u2514\u2500migrated-from-my.cnf-settings.conf\r\n     Active: active (running) since Fri 2023-04-21 07:16:34 JST; 2s ago\r\n       Docs: man:mariadbd(8)\r\n             https:\/\/mariadb.com\/kb\/en\/library\/systemd\/\r\n    Process: 1531 ExecStartPre=\/bin\/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0\/SUCC&gt;\r\n    Process: 1532 ExecStartPre=\/bin\/sh -c &#x5B; ! -e \/usr\/bin\/galera_recovery ] &amp;&amp; VAR= ||   VAR=`cd \/usr\/bin\/..; \/usr\/bin\/&gt;\r\n    Process: 1550 ExecStartPost=\/bin\/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0\/SUC&gt;\r\n   Main PID: 1540 (mariadbd)\r\n     Status: &quot;Taking your SQL requests now...&quot;\r\n      Tasks: 10 (limit: 11062)\r\n     Memory: 84.3M\r\n        CPU: 113ms\r\n     CGroup: \/system.slice\/mariadb.service\r\n             \u2514\u25001540 \/usr\/sbin\/mariadbd\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>Rocky Linux 9\u3067\u7a3c\u50cd\u3059\u308bMariaDB\u306e\u8d77\u52d5\u3068\u505c\u6b62\u306f\u3001Systemd\u3067\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e<\/p>\n<h2>\u53c2\u8003\u60c5\u5831<\/h2>\n<ul>\n<li><a href=\"https:\/\/mariadb.com\/kb\/en\/\" target=\"_blank\" rel=\"noopener\">MariaDB - Knowledge Base<\/a><\/li>\n<\/ul>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/10315\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011MariaDB\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2023\/05\/eyecatch_mariadb_01-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011MariaDB\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01<\/div><div class=\"substr\">MariaDB\u3092\u4f7f\u3044\u3053\u306a\u3059\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<h2>\u95a2\u9023\u66f8\u7c4d\uff08Amazon\u5546\u54c1\u30ea\u30f3\u30af\uff09<\/h2>\n<p><iframe sandbox=\"allow-popups allow-scripts allow-modals allow-forms allow-same-origin\" style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&bc1=000000&IS2=1&bg1=FFFFFF&fc1=000000&lc1=0000FF&t=infotecr-22&language=ja_JP&o=9&p=8&l=as4&m=amazon&f=ifr&ref=as_ss_li_til&asins=4774170208&linkId=800d87b228f07a60389e656d94ab962a\"><\/iframe><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Rocky Linux 9\u3067\u7a3c\u50cd\u3059\u308bMariaDB\u306e\u8d77\u52d5\u3068\u505c\u6b62\u3092\u884c\u3044\u307e\u3059<\/p>\n","protected":false},"author":1,"featured_media":11333,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[222],"tags":[],"class_list":["post-10329","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mariadb"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/10329","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=10329"}],"version-history":[{"count":10,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/10329\/revisions"}],"predecessor-version":[{"id":10343,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/10329\/revisions\/10343"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/11333"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=10329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=10329"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=10329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}