{"id":1221,"date":"2019-02-28T13:45:26","date_gmt":"2019-02-28T04:45:26","guid":{"rendered":"http:\/\/wp.ultimai.org\/wp\/?p=1221"},"modified":"2019-05-13T17:22:35","modified_gmt":"2019-05-13T08:22:35","slug":"ubuntu18-mysql5-7-root-password-%e8%a8%ad%e5%ae%9a","status":"publish","type":"post","link":"http:\/\/wp.ultimai.org\/?p=1221","title":{"rendered":"ubuntu18 mysql5.7 root password \u8a2d\u5b9a"},"content":{"rendered":"<p>mysql5.7\u3042\u305f\u308a\u304b\u3089password\u3068\u3044\u3046\u30d5\u30a3\u30fc\u30eb\u30c9\u306f\u7121\u304f\u306a\u3063\u3066\u3044\u308b<\/p>\n<pre class=\"tarminal\">\r\nmysql&gt; SELECT User , authentication_string FROM mysql.user\r\nmysql&gt; UPDATE user SET authentication_string=password('<em>\u5927\u6587\u5b57\u3068\u8a18\u53f7\u3092\u542b\u3080\u30d1\u30b9\u30ef\u30fc\u30c9<\/em>') WHERE user='root';\r\nmysql&gt; flush privileges;\r\nmysql&gt; \\q\r\n\r\n# mysql-uroot -p\r\n<\/pre>\n<p>\u3061\u306a\u307f\u306b ubuntu\u3067root\u30e6\u30fc\u30b6\u30fc\u3067\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3082\u805e\u304b\u308c\u305a\u306b\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u3066\u3057\u307e\u3046<br \/>\n$mysql -uroot -p<br \/>\n\u4e00\u822c\u30e6\u30fc\u30b6\u30fc\u306a\u3089\u3061\u3083\u3093\u3068\u805e\u304b\u308c\u308b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>mysql5.7\u3042\u305f\u308a\u304b\u3089password\u3068\u3044\u3046\u30d5 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[37],"class_list":["post-1221","post","type-post","status-publish","format-standard","hentry","category-mysql","tag-wsl"],"_links":{"self":[{"href":"http:\/\/wp.ultimai.org\/index.php?rest_route=\/wp\/v2\/posts\/1221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/wp.ultimai.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/wp.ultimai.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/wp.ultimai.org\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/wp.ultimai.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1221"}],"version-history":[{"count":2,"href":"http:\/\/wp.ultimai.org\/index.php?rest_route=\/wp\/v2\/posts\/1221\/revisions"}],"predecessor-version":[{"id":1241,"href":"http:\/\/wp.ultimai.org\/index.php?rest_route=\/wp\/v2\/posts\/1221\/revisions\/1241"}],"wp:attachment":[{"href":"http:\/\/wp.ultimai.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/wp.ultimai.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1221"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/wp.ultimai.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}