{"id":27,"date":"2008-06-21T14:22:20","date_gmt":"2008-06-21T02:22:20","guid":{"rendered":"http:\/\/p-s.co.nz\/wordpress\/?p=27"},"modified":"2008-06-21T14:22:20","modified_gmt":"2008-06-21T02:22:20","slug":"reset-mysql-password-in-ubuntu","status":"publish","type":"post","link":"http:\/\/p-s.co.nz\/wordpress\/reset-mysql-password-in-ubuntu\/","title":{"rendered":"Reset MySQL password in Ubuntu"},"content":{"rendered":"<p>A fresh install didn&#8217;t seem to let me set\/reset the password and for some reason I couldn&#8217;t get in.  So thanks to: <a href=\"http:\/\/ubuntu.flowconsult.at\/en\/mysql-set-change-reset-root-password\/\">http:\/\/ubuntu.flowconsult.at\/en\/mysql-set-change-reset-root-password\/<\/a> for the answer (which worked in Hardy):<\/p>\n<blockquote><p>   1.   Stop the MySQL Server<\/p>\n<p>sudo \/etc\/init.d\/mysql stop<\/p>\n<p>   2. Start the mysqld configuration.<\/p>\n<p>      sudo mysqld &#8211;skip-grant-tables &#038;<\/p>\n<p>   3. Login to MySQL as root.<\/p>\n<p>      mysql -u root mysql<\/p>\n<p>   4. Replace YOURNEWPASSWORD with your new password!<\/p>\n<p>      UPDATE user SET Password=PASSWORD(&#8216;YOURNEWPASSWORD&#8217;) WHERE User=&#8217;root&#8217;; FLUSH PRIVILEGES; exit;<\/p>\n<p>Note: This method is not regarded as the securest way of resetting the password. However it works.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>A fresh install didn&#8217;t seem to let me set\/reset the password and for some reason I couldn&#8217;t get in. So thanks to: http:\/\/ubuntu.flowconsult.at\/en\/mysql-set-change-reset-root-password\/ for the answer (which worked in Hardy): 1. Stop the MySQL Server sudo \/etc\/init.d\/mysql stop 2. Start &hellip; <a href=\"http:\/\/p-s.co.nz\/wordpress\/reset-mysql-password-in-ubuntu\/\">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":[8,6],"tags":[],"class_list":["post-27","post","type-post","status-publish","format-standard","hentry","category-mysql","category-ubuntu"],"_links":{"self":[{"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/posts\/27"}],"collection":[{"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/comments?post=27"}],"version-history":[{"count":0,"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/posts\/27\/revisions"}],"wp:attachment":[{"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/media?parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/categories?post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/p-s.co.nz\/wordpress\/wp-json\/wp\/v2\/tags?post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}