

{"id":637,"date":"2015-09-16T08:00:29","date_gmt":"2015-09-15T23:00:29","guid":{"rendered":"https:\/\/curecode.jp\/tech\/?p=637"},"modified":"2015-09-16T00:43:21","modified_gmt":"2015-09-15T15:43:21","slug":"centos-mysql-community-server-yum-install","status":"publish","type":"post","link":"https:\/\/curecode.jp\/tech\/centos-mysql-community-server-yum-install\/","title":{"rendered":"CentOS \u306b MySQL Community Server \u306e yum \u30ea\u30dd\u30b8\u30c8\u30ea\u7d4c\u7531\u3067\u6700\u65b0\u306e MySQL \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b"},"content":{"rendered":"<p>\nCentOS6 \u7cfb\u306b\u306f\u6a19\u6e96\u3067\u306f MySQL 5.1 \u304c\u3001CentOS7 \u7cfb\u306b\u306f MariaDB 5.5 \u7cfb\u304c yum \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002\n<\/p>\n<p>\n\u3057\u304b\u3057\u3001Oracle \u304c\u30ea\u30ea\u30fc\u30b9\u3057\u3066\u3044\u308b MySQL Community Edition \u3092\u5165\u308c\u305f\u3044\u3068\u3044\u3046\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3088\u306d\u3002\n<\/p>\n<p>\n\u4ee5\u524d\u306f<a href=\"http:\/\/dev.mysql.com\/downloads\/mysql\/\" title=\"MySQL ::  Download MySQL Community Server\" target=\"_blank\">Oracle \u306e Download MySQL Community Server \u30da\u30fc\u30b8<\/a> \u304b\u3089\u500b\u5225\u306b RPM \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3057\u305f\u3002\n<\/p>\n<p>\n\u73fe\u5728\u3067\u306f MySQL Community Release \u306e yum \u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u52a0\u3048\u3066 yum command\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\n<\/p>\n<p>\n<a href=\"http:\/\/dev.mysql.com\/downloads\/repo\/yum\/\" title=\"MySQL :: Download MySQL Yum Repository\" target=\"_blank\">MySQL :: Download MySQL Yum Repository<\/a> \u306b\u3066\u3001Red Hat Enterprise Linux \/ Oracle Linux \u3068 Fedora \u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u7528\u306e yum \u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b RPM \u304c\u914d\u5e03\u3055\u308c\u3066\u3044\u307e\u3059\u3002CentOS \u306e\u5834\u5408\u306f RHEL \/ Oracle Linux \u7528\u306e PRM \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\n<\/p>\n<p>\n\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3068\u3001\u30ed\u30b0\u30a4\u30f3\u307e\u305f\u306f\u30e6\u30fc\u30b6\u767b\u9332\u304c\u6c42\u3081\u3089\u308c\u307e\u3059\u304c\u3001\u767b\u9332\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u305d\u306e\u4e0b\u306b\u5c0f\u3055\u3044\u30ea\u30f3\u30af\u3067 <q>No thanks, just start my download.<\/q> \u3068\u66f8\u304b\u308c\u3066\u3044\u308b\u3068\u3053\u308d\u304b\u3089\u30e6\u30fc\u30b6\u767b\u9332\u305b\u305a\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002<br \/>\n<div id=\"attachment_638\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-638\" src=\"https:\/\/curecode.jp\/tech\/wp-content\/uploads\/2015\/07\/oracle-rpm-download1.jpg\" alt=\"No thanks, just start my download. \u3092\u9078\u3079\u3070\u30ed\u30b0\u30a4\u30f3\u30fb\u30b5\u30a4\u30f3\u30a2\u30c3\u30d7\u306e\u5fc5\u8981\u306f\u7121\u3044\u3002\" width=\"600\" height=\"445\" class=\"size-full wp-image-638\" srcset=\"https:\/\/curecode.jp\/tech\/wp-content\/uploads\/2015\/07\/oracle-rpm-download1.jpg 600w, https:\/\/curecode.jp\/tech\/wp-content\/uploads\/2015\/07\/oracle-rpm-download1-300x223.jpg 300w, https:\/\/curecode.jp\/tech\/wp-content\/uploads\/2015\/07\/oracle-rpm-download1-200x148.jpg 200w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><p id=\"caption-attachment-638\" class=\"wp-caption-text\">No thanks, just start my download. \u3092\u9078\u3079\u3070\u30ed\u30b0\u30a4\u30f3\u30fb\u30b5\u30a4\u30f3\u30a2\u30c3\u30d7\u306e\u5fc5\u8981\u306f\u7121\u3044\u3002<\/p><\/div>\n<\/p>\n<h3>\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u8a2d\u5b9a<\/h3>\n<p>\n  \u3053\u3053\u3067\u306f CentOS 6 \u7cfb\u306b\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306e RPM \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30fb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\n<\/p>\n<pre class=\"lang:default decode:true \" ># rpm -ivh http:\/\/dev.mysql.com\/get\/mysql-community-release-el6-5.noarch.rpm\r\nhttp:\/\/dev.mysql.com\/get\/mysql-community-release-el6-5.noarch.rpm \u3092\u53d6\u5f97\u4e2d\r\n\u6e96\u5099\u4e2d...                ########################################### [100%]\r\n   1:mysql-community-release########################################### [100%]<\/pre>\n<p>\n\u5148\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u306e mysql 5.1 \u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u524a\u9664\u3057\u307e\u3059\u3002<br \/>\n\u3068\u3053\u308d\u304c\u3001mysql-libs \u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4f9d\u5b58\u95a2\u4fc2\u3067\u524a\u9664\u3067\u304d\u307e\u305b\u3093\u3002\n<\/p>\n<p><pre class=\"lang:default decode:true \" ># rpm -e mysql-server mysql mysql-connector-odbc mysql-libs\r\n\u30a8\u30e9\u30fc: \u4f9d\u5b58\u6027\u306e\u6b20\u5982:\r\n        libmysqlclient.so.16()(64bit) \u306f (\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f)perl-DBD-MySQL-4.013-3.el6.x86_64 \u306b\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044 \u307e\u3059\r\n        libmysqlclient.so.16()(64bit) \u306f (\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f)postfix-2:2.6.6-6.el6_5.x86_64 \u306b\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e\u3059\r\n        libmysqlclient.so.16()(64bit) \u306f (\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f)php-mysql-5.3.3-46.el6_6.x86_64 \u306b\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e \u3059\r\n        libmysqlclient.so.16(libmysqlclient_16)(64bit) \u306f (\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f)perl-DBD-MySQL-4.013-3.el6.x86_64 \u306b\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e\u3059\r\n        libmysqlclient.so.16(libmysqlclient_16)(64bit) \u306f (\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f)postfix-2:2.6.6-6.el6_5.x86_64 \u306b \u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e\u3059\r\n        libmysqlclient.so.16(libmysqlclient_16)(64bit) \u306f (\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f)php-mysql-5.3.3-46.el6_6.x86_64 \u306b\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e\u3059\r\n        mysql-libs \u306f (\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f)postfix-2:2.6.6-6.el6_5.x86_64 \u306b\u5fc5\u8981\u3068\u3055\u308c\u3066\u3044\u307e\u3059<\/pre>\n<\/p>\n<p>\n\u305d\u3053\u3067\u3001mysql-libs \u4ee5\u5916\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u307e\u305a\u524a\u9664\u3057\u307e\u3059\u3002\n<\/p>\n<pre class=\"lang:default decode:true \" ># rpm -e mysql-server mysql mysql-connector-odbc<\/pre>\n<p>\nmysql-libs \u306f\u65b0\u3057\u3044\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089 mysql-community-libs-compat \u3068\u3044\u3046\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5165\u308c\u308b\u3053\u3068\u3067\u7f6e\u63db\u3067\u304d\u307e\u3059\u3002\n<\/p>\n<pre class=\"lang:default decode:true \" ># yum install mysql-community-libs-compat\r\n\uff08\u4e2d\u7565\uff09\r\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb:\r\n  mysql-community-libs.x86_64 0:5.6.26-2.el6         mysql-community-libs-compat.x86_64 0:5.6.26-2.el6\r\n\r\n\u4f9d\u5b58\u6027\u95a2\u9023\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f:\r\n  mysql-community-common.x86_64 0:5.6.26-2.el6\r\n\r\n\u7f6e\u63db:\r\n  mysql-libs.x86_64 0:5.1.73-5.el6_6<\/pre>\n<p>\n\u6b21\u306b mysql-community-server \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\n<\/p>\n<pre class=\"lang:default decode:true \" ># yum install mysql-community-client mysql-community-server\r\n\uff08\u4e2d\u7565\uff09\r\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb:\r\n  mysql-community-client.x86_64 0:5.6.26-2.el6          mysql-community-server.x86_64 0:5.6.26-2.el6\r\n\r\n\u5b8c\u4e86\u3057\u307e\u3057\u305f!<\/pre>\n<h3>\u30b5\u30fc\u30d3\u30b9\u306e\u958b\u59cb<\/h3>\n<p>\n\/etc\/my.cnf \u3092\u9069\u5207\u306b\u8a2d\u5b9a\u3057\u305f\u3089 MySQL \u30b5\u30fc\u30d0\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002\n<\/p>\n<pre class=\"lang:default decode:true \" ># service mysqld start\r\n\uff08\u4e2d\u7565\uff09\r\n                                                           [  OK  ]\r\nmysqld \u3092\u8d77\u52d5\u4e2d:                                           [  OK  ]<\/pre>\n<\/p>\n<p>\n\u63a5\u7d9a\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\n<\/p>\n<pre class=\"lang:default decode:true \" > mysql -u root\r\nWelcome to the MySQL monitor.  Commands end with ; or \\g.\r\nYour MySQL connection id is 2\r\nServer version: 5.6.26 MySQL Community Server (GPL)\r\n\r\nCopyright (c) 2000, 2015, Oracle and\/or its affiliates. All rights reserved.\r\n\r\nOracle is a registered trademark of Oracle Corporation and\/or its\r\naffiliates. Other names may be trademarks of their respective\r\nowners.\r\n\r\nType 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.\r\n<\/pre>\n<p>\n\u554f\u984c\u306a\u304f\u3064\u306a\u304c\u308a\u307e\u3057\u305f\u3002\u6700\u65b0\u306e MySQL \u3092\u4f7f\u3046\u306e\u3082\u304b\u306a\u308a\u7c21\u5358\u306b\u306a\u3063\u305f\u3068\u601d\u3044\u307e\u3059\u3002\n<\/p>\n<p>\n\u521d\u671f\u72b6\u614b\u3067\u306f\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u306e\u3067\u3001\u305d\u306e\u307e\u307e\u3064\u306a\u304c\u308a\u307e\u3057\u305f\u304c\u3001\u3082\u3061\u308d\u3093\u5b89\u5168\u306e\u305f\u3081\u306b\u5fc5\u305a\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u8a2d\u5b9a\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002\n<\/p>\n<pre class=\"lang:default decode:true \" >\/usr\/bin\/mysqladmin -u root password 'new-password'<\/pre>\n<h3>IT\u30a8\u30f3\u30b8\u30cb\u30a2\u52df\u96c6\u4e2d\uff01<\/h3>\n<p>\u30ad\u30e5\u30a2\u30b3\u30fc\u30c9\u682a\u5f0f\u4f1a\u793e\u306fIT\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u52df\u96c6\u3057\u3066\u304a\u308a\u307e\u3059\u3002\u5c11\u4eba\u6570\u306e\u8077\u5834\u306a\u306e\u3067\u3001\u4e0a\u6d41\u30fb\u4e0b\u6d41\u3084\u30b5\u30fc\u30d0\u30fc\u30fb\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5bfe\u5fdc\u306e\u57a3\u6839\u306a\u304f\u3001\u3042\u306a\u305f\u306e\u5f37\u307f\u3092\u6d3b\u304b\u3057\u306a\u304c\u3089 \u3044\u308d\u3044\u308d\u306a\u3053\u3068\u306b\u30c1\u30e3\u30ec\u30f3\u30b8\u53ef\u80fd\u3067\u3059\u3002\u30a8\u30f3\u30b8\u30cb\u30a2\u3068\u3057\u3066\u306e\u672a\u7d4c\u9a13\u306e\u65b9\u3001\u7d4c\u9a13\u304c\u5c11\u306a\u3044\u65b9\u3082\u6b53\u8fce\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4e0b\u8a18\u3088\u308aIT\u30a8\u30f3\u30b8\u30cb\u30a2\u52df\u96c6\u306e\u63a1\u7528\u60c5\u5831\u3092\u3054\u89a7\u3044\u305f\u3060\u3051\u307e\u3059\u3002<\/p>\n<div class=\"curecode_recruit_bn\">\n\t\t\t\t<a href=\"https:\/\/curecode.jp\/recruit\/itengineer\/\" target=\"_blank\" rel=\"noopener noreferrer\"><br \/>\n\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/curecode.jp\/tech\/wp-content\/themes\/tech\/images\/it_recruit.png?20241220\" alt=\"\u4e8b\u696d\u62e1\u5927\u306b\u4f34\u3044\u65b0\u3057\u3044\u9818\u57df\u306b\u4e00\u7dd2\u306b\u53d6\u308a\u7d44\u3093\u3067\u3044\u304f\u30e1\u30f3\u30d0\u30fc\u3092\u52df\u96c6\u3057\u307e\u3059\u3002\"  width=\"500\" height=\"180\"\/><br \/>\n\t\t\t\t<\/a>\n\t\t<\/div>\n<h3>\u30ad\u30e5\u30a2\u30b3\u30fc\u30c9\u516c\u5f0f\u30a4\u30f3\u30b9\u30bf\u30b0\u30e9\u30e0<\/h3>\n<p>\u30ad\u30e5\u30a2\u30b3\u30fc\u30c9\u682a\u5f0f\u4f1a\u793e\u306e\u65b0\u30b5\u30fc\u30d3\u30b9\u60c5\u5831\u3084\u3001\u30aa\u30d5\u30a3\u30b9\u30e9\u30a4\u30d5\u306e\u7d20\u6575\u306a\u77ac\u9593\u307e\u3067\u3002\u79c1\u305f\u3061\u306e\u65e5\u3005\u306e\u55b6\u307f\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<div class=\"curecode_recruit_bn\">\n\t\t\t\t<a href=\"https:\/\/www.instagram.com\/curecode\/\" target=\"_blank\" rel=\"noopener noreferrer\"><br \/>\n\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/curecode.jp\/tech\/wp-content\/themes\/tech\/images\/insta_bn.png?20241220\" alt=\"\u4e8b\u696d\u62e1\u5927\u306b\u4f34\u3044\u65b0\u3057\u3044\u9818\u57df\u306b\u4e00\u7dd2\u306b\u53d6\u308a\u7d44\u3093\u3067\u3044\u304f\u30e1\u30f3\u30d0\u30fc\u3092\u52df\u96c6\u3057\u307e\u3059\u3002\"  width=\"500\" height=\"180\"\/><br \/>\n\t\t\t\t<\/a>\n\t\t<\/div>\n","protected":false},"excerpt":{"rendered":"<p>CentOS6 \u7cfb\u306b\u306f\u6a19\u6e96\u3067\u306f MySQL 5.1 \u304c\u3001CentOS7 \u7cfb\u306b\u306f MariaDB 5. [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":593,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,84],"tags":[69,71,70,72,73],"class_list":["post-637","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-mysql","tag-centos","tag-mysql","tag-oracle","tag-rpm","tag-yum"],"_links":{"self":[{"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/posts\/637","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/comments?post=637"}],"version-history":[{"count":11,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/posts\/637\/revisions"}],"predecessor-version":[{"id":791,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/posts\/637\/revisions\/791"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/media\/593"}],"wp:attachment":[{"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/media?parent=637"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/categories?post=637"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/tags?post=637"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}