﻿{"id":197,"date":"2012-05-25T16:12:54","date_gmt":"2012-05-25T19:12:54","guid":{"rendered":"http:\/\/binsfeld.com.br\/wp\/?p=197"},"modified":"2012-06-10T14:09:58","modified_gmt":"2012-06-10T17:09:58","slug":"alterar-senha-root-mysql-esquecida","status":"publish","type":"post","link":"http:\/\/binsfeld.com.br\/wp\/?p=197","title":{"rendered":"Alterar Senha root MYSQL Esquecida"},"content":{"rendered":"<p>[root@firewall \/]# \/etc\/init.d\/mysqld stop<br \/>\nStopping mysqld: [ OK ]<br \/>\n[root@firewall \/]# mysqld_safe &#8211;skip-grant-tables &amp;<br \/>\n[1] 3489<br \/>\n[root@firewall \/]# 120525 16:11:52 mysqld_safe Logging to &#8216;\/var\/log\/mysqld.log&#8217;.<br \/>\n120525 16:11:53 mysqld_safe Starting mysqld daemon with databases from \/var\/lib\/mysql<\/p>\n<p>[root@firewall \/]# mysql<br \/>\nWelcome to the MySQL monitor. Commands end with ; or \\g.<br \/>\nYour MySQL connection id is 1<br \/>\nServer version: 5.1.61 Source distribution<\/p>\n<p>Copyright (c) 2000, 2011, Oracle and\/or its affiliates. All rights reserved.<\/p>\n<p>Oracle is a registered trademark of Oracle Corporation and\/or its<br \/>\naffiliates. Other names may be trademarks of their respective<br \/>\nowners.<\/p>\n<p>Type &#8216;help;&#8217; or &#8216;\\h&#8217; for help. Type &#8216;\\c&#8217; to clear the current input statement.<\/p>\n<p>mysql&gt; use mysql;<br \/>\nReading table information for completion of table and column names<br \/>\nYou can turn off this feature to get a quicker startup with -A<\/p>\n<p>Database changed<br \/>\nmysql&gt; update user set password = password(&#8216;123456&#8242;) where user=&#8217;root&#8217; and host=&#8217;localhost&#8217;;<br \/>\nQuery OK, 0 rows affected (0.00 sec)<br \/>\nRows matched: 1 Changed: 0 Warnings: 0<\/p>\n<p>mysql&gt; flush privileges;<br \/>\nQuery OK, 0 rows affected (0.00 sec)<\/p>\n<p>mysql&gt; quit;<br \/>\nBye<br \/>\n[root@firewall \/]# \/etc\/init.d\/mysqld restart<br \/>\n120525 16:12:34 mysqld_safe mysqld from pid file \/var\/run\/mysqld\/mysqld.pid ended<br \/>\nStopping mysqld: [ OK ]<br \/>\nStarting mysqld: [ OK ]<br \/>\n[1]+ Done mysqld_safe &#8211;skip-grant-tables<br \/>\n[root@firewall \/]#<\/p>\n<p>Cr\u00e9ditos :\u00a0<a href=\"http:\/\/www.dicas-l.com.br\/arquivo\/bind-chroot_no_centos_5.3.php\">http:\/\/www.dicas-l.com.br\/arquivo\/bind-chroot_no_centos_5.3.php<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[root@firewall \/]# \/etc\/init.d\/mysqld stop Stopping mysqld: [ OK ] [root@firewall \/]# mysqld_safe &#8211;skip-grant-tables &amp; [1] 3489 [root@firewall \/]# 120525 16:11:52 mysqld_safe Logging to &#8216;\/var\/log\/mysqld.log&#8217;. 120525 16:11:53 mysqld_safe Starting mysqld daemon<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-197","post","type-post","status-publish","format-standard","hentry","category-outros"],"_links":{"self":[{"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/posts\/197"}],"collection":[{"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=197"}],"version-history":[{"count":2,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/posts\/197\/revisions"}],"predecessor-version":[{"id":215,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/posts\/197\/revisions\/215"}],"wp:attachment":[{"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=197"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}