{"id":84,"date":"2025-11-17T13:04:56","date_gmt":"2025-11-17T13:04:56","guid":{"rendered":"https:\/\/blogs.giamkichsan.com\/?p=84"},"modified":"2025-11-17T13:04:56","modified_gmt":"2025-11-17T13:04:56","slug":"centos-go-cai-dat-mysql-mysql-community-server","status":"publish","type":"post","link":"https:\/\/blogs.giamkichsan.com\/index.php\/2025\/11\/17\/centos-go-cai-dat-mysql-mysql-community-server\/","title":{"rendered":"Centos \u2013 G\u1ee1 c\u00e0i \u0111\u1eb7t MySQL (MySQL Community Server)"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\"><strong>PH\u1ea6N 1 \u2014 X\u00d3A S\u1ea0CH MYSQL + REPO EL9<\/strong><\/h1>\n\n\n\n<h3 class=\"wp-block-heading\">\u2714 1. G\u1ee1 to\u00e0n b\u1ed9 MySQL server + client<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo yum remove mysql mysql-server mysql-community-* mariadb-* -y\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u2714 2. G\u1ee1 repo MySQL 8 (EL9)<\/h3>\n\n\n\n<p>Repo c\u1ee7a b\u1ea1n l\u00e0:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mysql80-community-release-el9-5.noarch\n<\/code><\/pre>\n\n\n\n<p>G\u1ee1 b\u1eb1ng:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo yum remove mysql80-community-release-el9-5.noarch -y\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u2714 3. X\u00f3a d\u1eef li\u1ec7u, c\u1ea5u h\u00ecnh, socket, pid<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo rm -rf \/var\/lib\/mysql\nsudo rm -rf \/etc\/my.cnf\nsudo rm -rf \/etc\/my.cnf.d\nsudo rm -rf \/var\/run\/mysqld\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u2714 4. Ki\u1ec3m tra l\u1ea1i \u0111\u1ec3 ch\u1eafc ch\u1eafn MySQL \u0111\u00e3 b\u1ecb g\u1ee1 ho\u00e0n to\u00e0n<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>rpm -qa | grep -i mysql\n<\/code><\/pre>\n\n\n\n<p>N\u1ebfu kh\u00f4ng c\u00f3 d\u00f2ng n\u00e0o \u2192 <strong>\u0111\u00e3 s\u1ea1ch<\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>PH\u1ea6N 1 \u2014 X\u00d3A S\u1ea0CH MYSQL + REPO EL9 \u2714 1. G\u1ee1 to\u00e0n b\u1ed9 MySQL server + client \u2714 2. G\u1ee1 repo MySQL 8 (EL9) <a class=\"mh-excerpt-more\" href=\"https:\/\/blogs.giamkichsan.com\/index.php\/2025\/11\/17\/centos-go-cai-dat-mysql-mysql-community-server\/\" title=\"Centos \u2013 G\u1ee1 c\u00e0i \u0111\u1eb7t MySQL (MySQL Community Server)\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-84","post","type-post","status-publish","format-standard","hentry","category-mysql-he-quan-tri-co-so-du-lieu"],"_links":{"self":[{"href":"https:\/\/blogs.giamkichsan.com\/index.php\/wp-json\/wp\/v2\/posts\/84","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.giamkichsan.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.giamkichsan.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.giamkichsan.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.giamkichsan.com\/index.php\/wp-json\/wp\/v2\/comments?post=84"}],"version-history":[{"count":1,"href":"https:\/\/blogs.giamkichsan.com\/index.php\/wp-json\/wp\/v2\/posts\/84\/revisions"}],"predecessor-version":[{"id":85,"href":"https:\/\/blogs.giamkichsan.com\/index.php\/wp-json\/wp\/v2\/posts\/84\/revisions\/85"}],"wp:attachment":[{"href":"https:\/\/blogs.giamkichsan.com\/index.php\/wp-json\/wp\/v2\/media?parent=84"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.giamkichsan.com\/index.php\/wp-json\/wp\/v2\/categories?post=84"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.giamkichsan.com\/index.php\/wp-json\/wp\/v2\/tags?post=84"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}