{"id":6296,"date":"2016-09-18T12:31:41","date_gmt":"2016-09-18T04:31:41","guid":{"rendered":"http:\/\/rmohan.com\/?p=6296"},"modified":"2016-09-18T12:33:15","modified_gmt":"2016-09-18T04:33:15","slug":"mysql-change-the-default-blank-password-to-open-remote-access","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=6296","title":{"rendered":"MySQL change the default blank password to open Remote Access"},"content":{"rendered":"<p>mysql -u root -p<\/p>\n<p>use mysql<\/p>\n<p>update user set password=PASSWORD(&#8216;abcde&#8217;) where user = &#8216;root&#8217;;<\/p>\n<p>mysql<br \/>\nupdate user set password=PASSWORD(&#8216;123456&#8242;) where user=&#8217;root&#8217;<\/p>\n<p>mysqld -install<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"font-family: Courier New;\">mysql&gt; show variables like &#8216;char%&#8217;;<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New;\">mysql&gt;set character_set_client=gbk;<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New;\">mysql&gt;set character_set_results=gbk;<\/span><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>mysql -u root -p<\/p>\n<p>use mysql<\/p>\n<p>update user set password=PASSWORD(&#8216;abcde&#8217;) where user = &#8216;root&#8217;;<\/p>\n<p>mysql update user set password=PASSWORD(&#8216;123456&#8242;) where user=&#8217;root&#8217;<\/p>\n<p>mysqld -install<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>mysql&gt; show variables like &#8216;char%&#8217;; mysql&gt;set character_set_client=gbk; mysql&gt;set character_set_results=gbk;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6296"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6296"}],"version-history":[{"count":2,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6296\/revisions"}],"predecessor-version":[{"id":6298,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/6296\/revisions\/6298"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6296"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}