{"id":403,"date":"2009-05-17T11:06:40","date_gmt":"2009-05-17T10:06:40","guid":{"rendered":"http:\/\/mattiesworld.gotdns.org\/weblog\/2009\/05\/17\/securing-mysql\/"},"modified":"2009-05-17T11:06:40","modified_gmt":"2009-05-17T10:06:40","slug":"securing-mysql","status":"publish","type":"post","link":"https:\/\/mattiesworld.gotdns.org\/weblog\/2009\/05\/17\/securing-mysql\/","title":{"rendered":"Securing mysql"},"content":{"rendered":"<p>Everyone knows, first thing you have to do after installing mysql, is setting its root password. I used to do this using the mysqladmin tool like this:<\/p>\n<p><code>\/usr\/bin\/mysqladmin -u root password 'new-password'<\/code><\/p>\n<p>For starters, you should not forget to do the same command for your other host names (-h option), but also there are still some other tasks like disabling anonymous access and removing the test databases. Today, having another mysql install, I noticed that the install script mentions this neat tool packaged with mysql to do just all that. \ud83d\ude42<\/p>\n<p>Just run <strong>\/usr\/bin\/mysql_secure_installation<\/strong> and you&#8217;re done!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Everyone knows, first thing you have to do after installing mysql, is setting its root password. I used to do this using the mysqladmin tool like this: \/usr\/bin\/mysqladmin -u root password &#8216;new-password&#8217; For starters, you should not forget to do the same command for your other host names (-h option), but also there are still &hellip; <a href=\"https:\/\/mattiesworld.gotdns.org\/weblog\/2009\/05\/17\/securing-mysql\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Securing mysql<\/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":[6,10,2],"tags":[],"class_list":["post-403","post","type-post","status-publish","format-standard","hentry","category-software","category-tweaking","category-web"],"_links":{"self":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts\/403","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/comments?post=403"}],"version-history":[{"count":0,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts\/403\/revisions"}],"wp:attachment":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/media?parent=403"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/categories?post=403"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/tags?post=403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}