{"id":799,"date":"2015-01-25T12:35:54","date_gmt":"2015-01-25T03:35:54","guid":{"rendered":"http:\/\/www.freesens.com\/x\/?p=799"},"modified":"2024-01-16T09:25:05","modified_gmt":"2024-01-16T00:25:05","slug":"mariadb","status":"publish","type":"post","link":"http:\/\/www.freesens.com\/x\/?p=799","title":{"rendered":"Install MariaDB on CentOS 7"},"content":{"rendered":"<p>* mariadb install<br \/>\n&#8211; yum install mariadb<br \/>\n&#8211; yum install mariadb-server<\/p>\n<p>* service regist<br \/>\n&#8211; chkconfig mariadb on<\/p>\n<p>* Securing MariaDB<br \/>\n&#8211; \/usr\/bin\/mysql_secure_installation<br \/>\nRemove anonymous users? Y<br \/>\nDisallow root login remotely? Y<br \/>\nRemove test database and access to it? Y<br \/>\nReload Privileage tables now? Y<\/p>\n<p>iptables\uc5d0\uc11c 3306 \uc5f4\uc5b4\uc8fc\uace0 \uc678\ubd80\uc5d0\uc11c \uc811\uc18d\uc2dc&#8230;.<br \/>\nHost &#8216;xxx.xxx.xxx.xxx&#8217; is not allowed to connect to this MariaDB server<\/p>\n<p>mysql &#8211; uroot -p<br \/>\nMariaDB&gt;use mysql<br \/>\nMariaDB [mysql]&gt; grant all privileges on *.* to &#8216;mariadb\ub8e8\ud2b8\uacc4\uc815&#8217;@&#8217;%&#8217; identified by &#8216;\ube44\ubc00\ubc88\ud638&#8217;;<\/p>\n<p>\uc678\ubd80\uc5d0\uc11c \ud574\ub2f9 \uacc4\uc815\uc5d0 \ub300\ud574 \uc811\uadfc\ud5c8\uc6a9<\/p>\n","protected":false},"excerpt":{"rendered":"<p>* mariadb install &#8211; yum install mariadb &#8211; yum install mariadb-server * service regist &#8211; chkconfig mariadb on * Securing MariaDB &#8211; \/usr\/bin\/mysql_secure_installation Remove anonymous users? Y Disallow root login remotely? Y Remove test database and access to it? Y Reload Privileage tables now? Y iptables\uc5d0\uc11c 3306 \uc5f4\uc5b4\uc8fc\uace0 \uc678\ubd80\uc5d0\uc11c \uc811\uc18d\uc2dc&#8230;. Host &#8216;xxx.xxx.xxx.xxx&#8217; is not allowed &hellip; <a href=\"http:\/\/www.freesens.com\/x\/?p=799\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Install MariaDB on CentOS 7<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[245],"tags":[281,249,141,312],"class_list":["post-799","post","type-post","status-publish","format-standard","hentry","category-linux","tag-linux","tag-mariadb","tag-mysql","tag-mysqld"],"_links":{"self":[{"href":"http:\/\/www.freesens.com\/x\/index.php?rest_route=\/wp\/v2\/posts\/799","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.freesens.com\/x\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.freesens.com\/x\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.freesens.com\/x\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.freesens.com\/x\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=799"}],"version-history":[{"count":3,"href":"http:\/\/www.freesens.com\/x\/index.php?rest_route=\/wp\/v2\/posts\/799\/revisions"}],"predecessor-version":[{"id":876,"href":"http:\/\/www.freesens.com\/x\/index.php?rest_route=\/wp\/v2\/posts\/799\/revisions\/876"}],"wp:attachment":[{"href":"http:\/\/www.freesens.com\/x\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.freesens.com\/x\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=799"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.freesens.com\/x\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}