{"id":1755,"date":"2015-04-04T16:18:00","date_gmt":"2015-04-04T22:18:00","guid":{"rendered":"http:\/\/linuxitos.com\/main\/instalar-mysql-5-6-en-fedora-21\/"},"modified":"2015-04-04T16:18:00","modified_gmt":"2015-04-04T22:18:00","slug":"instalar-mysql-5-6-en-fedora-21","status":"publish","type":"post","link":"https:\/\/linuxitos.com\/main\/instalar-mysql-5-6-en-fedora-21\/","title":{"rendered":"Instalar MySQL 5.6 en fedora 21"},"content":{"rendered":"<p><\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"http:\/\/3.bp.blogspot.com\/-hO3R9tBNbqU\/VSBPjGuwXkI\/AAAAAAAAArE\/Yz44Eu1Nczo\/s1600\/images.duckduckgo.com.jpg\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"240\" src=\"http:\/\/3.bp.blogspot.com\/-hO3R9tBNbqU\/VSBPjGuwXkI\/AAAAAAAAArE\/Yz44Eu1Nczo\/s1600\/images.duckduckgo.com.jpg\" width=\"320\" \/><\/a><\/div>\n<p>Instalaci\u00f3n de MySQL 5.6 en Fedora 21<\/p>\n<p>1.- Descargar el repositorio oficial de MySQL<br \/><a href=\"http:\/\/dev.mysql.com\/get\/mysql-community-release-fc21-6.noarch.rpm\">http:\/\/dev.mysql.com\/get\/mysql-community-release-fc21-6.noarch.rpm<\/a><\/p>\n<p>2.- Instalar el repositorio haciendo doble clic sobre el archivo descargado o desde la terminal usando el siguiente comando:<\/p>\n<div style=\"text-align: justify;\">\n<pre style=\"background: none no-repeat scroll 0% 0% rgb(0, 0, 0); border-radius: 3px; border: 1px solid rgb(0, 0, 0); font-family: &quot;Droid Sans Mono&quot;,Consolas,monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\"><span style=\"color: white;\">sudo rpm -ivh mysql-community-release-fc21-6.noarch.rpm<\/span><\/pre>\n<\/div>\n<p>3.- Finalizada la instalaci\u00f3n, en la ruta <span style=\"color: purple;\">\/etc\/yum.repos.d<\/span> se han agregado dos archivos, <span style=\"color: #660000;\">mysql-community.repo<\/span> y <span style=\"color: #660000;\">mysql-community-source.repo<\/span> modificar el primer archivo de la siguiente manera:<\/p>\n<p>4.- Deshabilitar mysql57<\/p>\n<div style=\"text-align: justify;\">\n<pre style=\"background: none no-repeat scroll 0% 0% rgb(0, 0, 0); border-radius: 3px; border: 1px solid rgb(0, 0, 0); font-family: &quot;Droid Sans Mono&quot;,Consolas,monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\"><span style=\"color: white;\">sudo yum-config-manager --disable mysql57-community-dmr<\/span><\/pre>\n<\/div>\n<p>5.- Opcional: listar paquetes de MySQL disponibles para instalar<\/p>\n<div style=\"text-align: justify;\">\n<pre style=\"background: none no-repeat scroll 0% 0% rgb(0, 0, 0); border-radius: 3px; border: 1px solid rgb(0, 0, 0); font-family: &quot;Droid Sans Mono&quot;,Consolas,monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\"><span style=\"color: white;\">sudo yum repolist enabled | grep mysql<\/span><\/pre>\n<p>6.- Instalar MySQL<\/p><\/div>\n<div style=\"text-align: justify;\">\n<pre style=\"background: none no-repeat scroll 0% 0% rgb(0, 0, 0); border-radius: 3px; border: 1px solid rgb(0, 0, 0); font-family: &quot;Droid Sans Mono&quot;,Consolas,monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\"><span style=\"color: white;\">sudo yum install mysql-community-server<\/span><\/pre>\n<pre style=\"background: none no-repeat scroll 0% 0% rgb(0, 0, 0); border-radius: 3px; border: 1px solid rgb(0, 0, 0); font-family: &quot;Droid Sans Mono&quot;,Consolas,monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\"><span style=\"color: white;\">sudo dnf install mysql-community-server &nbsp;<\/span><\/pre>\n<\/div>\n<p>7.- Comandos para iniciar o parar MySQL<\/p>\n<div style=\"text-align: justify;\">\n<pre style=\"background: none no-repeat scroll 0% 0% rgb(0, 0, 0); border-radius: 3px; border: 1px solid rgb(0, 0, 0); font-family: &quot;Droid Sans Mono&quot;,Consolas,monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\"><span style=\"color: white;\">sudo service mysqld start<\/span><\/pre>\n<pre style=\"background: none no-repeat scroll 0% 0% rgb(0, 0, 0); border-radius: 3px; border: 1px solid rgb(0, 0, 0); font-family: &quot;Droid Sans Mono&quot;,Consolas,monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\"><span style=\"color: white;\">sudo service mysqld stop <\/span><\/pre>\n<\/div>\n<p>8.- Ejecutar MySQL con instalaci\u00f3n segura para cambiar contrase\u00f1a.<\/p>\n<div style=\"text-align: justify;\">\n<pre style=\"background: none no-repeat scroll 0% 0% rgb(0, 0, 0); border-radius: 3px; border: 1px solid rgb(0, 0, 0); font-family: &quot;Droid Sans Mono&quot;,Consolas,monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\"><span style=\"color: white;\">mysql_secure_installation<\/span><\/pre>\n<\/div>\n<p>9.- Habilitar instalaci\u00f3n de paquetes adicionales de MySQL.<\/p>\n<div style=\"text-align: justify;\">\n<pre style=\"background: none no-repeat scroll 0% 0% rgb(0, 0, 0); border-radius: 3px; border: 1px solid rgb(0, 0, 0); font-family: &quot;Droid Sans Mono&quot;,Consolas,monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\"><span style=\"color: white;\">sudo yum --disablerepo=* --enablerepo='mysql*-community*' list available<\/span><\/pre>\n<\/div>\n<p>10.- Instalaci\u00f3n de MySQL Workbench<\/p>\n<div style=\"text-align: justify;\">\n<pre style=\"background: none no-repeat scroll 0% 0% rgb(0, 0, 0); border-radius: 3px; border: 1px solid rgb(0, 0, 0); font-family: &quot;Droid Sans Mono&quot;,Consolas,monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\"><span style=\"color: white;\">sudo yum install mysql-workbench-community<\/span><\/pre>\n<\/div>\n<p>Fuente: <a href=\"http:\/\/dev.mysql.com\/doc\/refman\/5.6\/en\/linux-installation-yum-repo.html\">http:\/\/dev.mysql.com\/doc\/refman\/5.6\/en\/linux-installation-yum-repo.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Instalaci\u00f3n de MySQL 5.6 en Fedora 21 1.- Descargar el repositorio oficial de MySQLhttp:\/\/dev.mysql.com\/get\/mysql-community-release-fc21-6.noarch.rpm 2.- Instalar el repositorio haciendo doble clic sobre el archivo descargado o desde la terminal usando el siguiente comando: sudo rpm -ivh mysql-community-release-fc21-6.noarch.rpm 3.- Finalizada la instalaci\u00f3n, en la ruta \/etc\/yum.repos.d se han agregado dos archivos, mysql-community.repo y mysql-community-source.repo modificar el [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,1236,415,1273,357,4,60,1274],"tags":[],"class_list":["post-1755","post","type-post","status-publish","format-standard","hentry","category-fedora","category-fedora-21","category-instalar-mysql","category-instalar-mysql-en-fedora-21","category-install","category-linux","category-mysql","category-mysql-5-6"],"_links":{"self":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts\/1755","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/comments?post=1755"}],"version-history":[{"count":0,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts\/1755\/revisions"}],"wp:attachment":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/media?parent=1755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/categories?post=1755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/tags?post=1755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}