{"id":378,"date":"2009-06-15T13:31:31","date_gmt":"2009-06-15T11:31:31","guid":{"rendered":"http:\/\/blog.peychev.net\/?p=378"},"modified":"2012-08-31T09:03:13","modified_gmt":"2012-08-31T07:03:13","slug":"reset-mysql-root-password","status":"publish","type":"post","link":"https:\/\/blog.peychev.net\/?p=378","title":{"rendered":"reset MySQL root password"},"content":{"rendered":"<p>\u0410\u043a\u043e \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e \u0432\u044a\u0440\u0448\u0438\u0442\u0435 \u0434\u0435\u0441\u0435\u0442\u0438\u043d\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u0438 \u043d\u0435\u0449\u0430 \u0438 \u0441\u044a\u043e\u0442\u0432\u0435\u0442\u043d\u043e \u0441\u0442\u0435 \u0442\u043e\u043b\u043a\u043e\u0432\u0430 \u0440\u0430\u0437\u0441\u0435\u044f\u043d\u0438 (\u0434\u0430 \u043d\u0435 \u043a\u0430\u0437\u0432\u0430\u043c \u0442\u044a\u043f\u0438 \u043a\u0430\u0442\u043e \u043c\u0435\u043d) \u0438 \u0437\u0430\u0431\u0440\u0430\u0432\u0438\u0442\u0435 \u0438\u043b\u0438 \u043d\u0435 \u0441\u0438 \u0437\u0430\u043f\u0438\u0448\u0435\u0442\u0435 \u043a\u0430\u043a\u0432\u0430 \u043f\u0430\u0440\u043e\u043b\u0430 \u0441\u0442\u0435 \u0441\u0435\u0442\u043d\u0430\u043b\u0438 \u043d\u0430 \u043d\u043e\u0432\u043e\u0438\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430\u043d\u0438\u044f MySQL \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430 \u0441\u0438 \u044f \u0441\u0435\u0442\u043d\u0435\u0442\u0435 \u043d\u0430 \u043d\u043e\u0432\u043e \u043f\u043e \u0441\u043b\u0435\u0434\u043d\u0438\u044f \u043d\u0430\u0447\u0438\u043d:<\/p>\n<p>1. \u0421\u043f\u0438\u0440\u0430\u0442\u0435 MySQL \u0441\u044a\u0440\u0432\u044a\u0440\u0430<br \/>\n2. \u0421\u0442\u0430\u0440\u0442\u0438\u0440\u0430\u0442\u0435 \u0433\u043e \u0441 \u043e\u043f\u0446\u0438\u044f\u0442\u0430 <em><strong>&#8211;skip-grant-tables<\/strong><br \/>\n<\/em>3. <strong><em>mysql -u root<\/em><\/strong> \u0438 \u0441\u0435 \u043b\u043e\u0433\u0432\u0430\u0442\u0435 \u0431\u0435\u0437 \u043f\u0430\u0440\u043e\u043b\u0430<br \/>\n4. <strong><em>UPDATE mysql.user SET Password=PASSWORD(&#8216;\u041d\u041e\u0412\u0410\u0422\u0410-\u041f\u0410\u0420\u041e\u041b\u0410&#8217;) WHERE User=&#8217;root&#8217;;<br \/>\n<\/em><\/strong>5. \u0421\u043f\u0440\u0435\u0442\u0435 MySQL-a \u0438 \u0433\u043e \u043f\u0443\u0441\u043d\u0435\u0442\u0435 \u0441 \u043d\u043e\u0440\u043c\u0430\u043b\u043d\u0438 \u043e\u043f\u0446\u0438\u0438 \u0437\u0430 \u0440\u0430\u0431\u043e\u0442\u0430 \u0438 \u0449\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435 \u043d\u043e\u0432\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u0435\u043d\u0430\u0442\u0430 \u0441\u0438 \u043f\u0430\u0440\u043e\u043b\u0430<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0410\u043a\u043e \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e \u0432\u044a\u0440\u0448\u0438\u0442\u0435 \u0434\u0435\u0441\u0435\u0442\u0438\u043d\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u0438 \u043d\u0435\u0449\u0430 \u0438 \u0441\u044a\u043e\u0442\u0432\u0435\u0442\u043d\u043e \u0441\u0442\u0435 \u0442\u043e\u043b\u043a\u043e\u0432\u0430 \u0440\u0430\u0437\u0441\u0435\u044f\u043d\u0438 (\u0434\u0430 \u043d\u0435 \u043a\u0430\u0437\u0432\u0430\u043c \u0442\u044a\u043f\u0438 \u043a\u0430\u0442\u043e \u043c\u0435\u043d) \u0438 \u0437\u0430\u0431\u0440\u0430\u0432\u0438\u0442\u0435 \u0438\u043b\u0438 \u043d\u0435 \u0441\u0438 \u0437\u0430\u043f\u0438\u0448\u0435\u0442\u0435 \u043a\u0430\u043a\u0432\u0430 \u043f\u0430\u0440\u043e\u043b\u0430 \u0441\u0442\u0435 \u0441\u0435\u0442\u043d\u0430\u043b\u0438 \u043d\u0430 \u043d\u043e\u0432\u043e\u0438\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430\u043d\u0438\u044f MySQL \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430 \u0441\u0438 \u044f \u0441\u0435\u0442\u043d\u0435\u0442\u0435 \u043d\u0430 \u043d\u043e\u0432\u043e \u043f\u043e \u0441\u043b\u0435\u0434\u043d\u0438\u044f \u043d\u0430\u0447\u0438\u043d: &hellip; <a href=\"https:\/\/blog.peychev.net\/?p=378\">Continue reading <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":[9],"tags":[329,68,330],"class_list":["post-378","post","type-post","status-publish","format-standard","hentry","category-it","tag-mysql","tag-sql","tag-330"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog.peychev.net\/index.php?rest_route=\/wp\/v2\/posts\/378","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.peychev.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.peychev.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.peychev.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.peychev.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=378"}],"version-history":[{"count":3,"href":"https:\/\/blog.peychev.net\/index.php?rest_route=\/wp\/v2\/posts\/378\/revisions"}],"predecessor-version":[{"id":694,"href":"https:\/\/blog.peychev.net\/index.php?rest_route=\/wp\/v2\/posts\/378\/revisions\/694"}],"wp:attachment":[{"href":"https:\/\/blog.peychev.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.peychev.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.peychev.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}