{"id":9451,"date":"2019-03-22T19:32:02","date_gmt":"2019-03-22T10:32:02","guid":{"rendered":"http:\/\/www.webcyou.com\/?p=9451"},"modified":"2019-03-22T19:33:14","modified_gmt":"2019-03-22T10:33:14","slug":"centos-mysqlmariadb-%e3%82%92-%e3%83%90%e3%83%bc%e3%82%b8%e3%83%a7%e3%83%b310-3%e3%81%ab-yum%e3%81%a7%e3%82%a2%e3%83%83%e3%83%97%e3%83%87%e3%83%bc%e3%83%88","status":"publish","type":"post","link":"https:\/\/www.webcyou.com\/?p=9451","title":{"rendered":"CentOS MySQL(MariaDB) \u3092 \u30d0\u30fc\u30b8\u30e7\u30f310.3\u306b yum\u3067\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8"},"content":{"rendered":"<h4>mysql(MariaDB) \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n<p>Yum\u3092\u7528\u3044\u305f\u3001MariaDB\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$ sudo yum -y install --enablerepo=mariadb MariaDB-common MariaDB-devel MariaDB-shared MariaDB-compat MariaDB-server MariaDB-client<\/pre>\n<p>\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3059\u308b\u304b\u78ba\u8a8d\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$ rpm -qa | grep\u00a0\"MariaDB\"<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">MariaDB-compat-10.1.28-1.el7.centos.x86_64\r\nMariaDB-client-10.1.28-1.el7.centos.x86_64\r\nMariaDB-server-10.1.28-1.el7.centos.x86_64\r\nMariaDB-devel-10.1.28-1.el7.centos.x86_64\r\nMariaDB-common-10.1.28-1.el7.centos.x86_64\r\nMariaDB-shared-10.1.28-1.el7.centos.x86_64<\/pre>\n<p>\u73fe\u5728\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3002<\/p>\n<p><strong>\u30d0\u30fc\u30b8\u30e7\u30f3\u78ba\u8a8d<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$ mysql --version<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">mysql Ver\u00a015.1\u00a0Distrib\u00a010.1.28-MariaDB,\u00a0for\u00a0Linux (x86_64) using readline\u00a05.1<\/pre>\n<h4>\u516c\u5f0fyum\u30ea\u30dd\u30b8\u30c8\u30ea\u8ffd\u52a0<\/h4>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$\u00a0curl -sS https:\/\/downloads.mariadb.com\/MariaDB\/mariadb_repo_setup | sudo bash<\/pre>\n<h4>MariaDB 10.1.28 \u2192 10.3.13\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7<\/h4>\n<h5>\u4e00\u65e6\u505c\u6b62<\/h5>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$ sudo systemctl stop mariadb<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$ sudo yum update MariaDB-common MariaDB-devel MariaDB-shared MariaDB-compat MariaDB-server MariaDB-client -y<\/pre>\n<p><strong>\u30d0\u30fc\u30b8\u30e7\u30f3\u78ba\u8a8d<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$ mysql --version\r\nmysql Ver\u00a015.1\u00a0Distrib\u00a010.3.13-MariaDB,\u00a0for\u00a0Linux (x86_64) using readline\u00a05.1<\/pre>\n<p>\u3053\u308c\u3067\u3001\u884c\u3051\u305f\u304b\u30a1\u30fc\uff01<\/p>\n<p>\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001<strong>MariaDB-server<\/strong>\u3060\u3051\u66f4\u65b0\u3055\u308c\u306a\u3044\u307f\u305f\u3044\u306a\u306e\u3067\u3001\u524a\u9664\u3057\u3066\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<h5>MariaDB-server\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h5>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$ sudo yum remove MariaDB-server<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$ sudo yum -y install MariaDB-server<\/pre>\n<p>\u3068\u3001\u3044\u3046\u4e8b\u3067\u3001\u66f4\u65b0\u3082\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>mysql(MariaDB) \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb Yum\u3092\u7528\u3044\u305f\u3001MariaDB\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3002 $ sudo yum -y install &#8211;enablerepo=mariadb MariaDB-comm [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35],"tags":[107,180,173,58,150,45,111,78,118],"class_list":["post-9451","post","type-post","status-publish","format-standard","hentry","category-mysql","tag-mamp","tag-mysql","tag-php","tag-sdk","tag-vagrant","tag-web","tag-wordpress-2","tag-78","tag-118"],"_links":{"self":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/9451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9451"}],"version-history":[{"count":7,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/9451\/revisions"}],"predecessor-version":[{"id":9459,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/9451\/revisions\/9459"}],"wp:attachment":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}