Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(): Failed opening '/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php' for inclusion (include_path='.:/opt/cpanel/ea-php70/root/usr/share/pear') in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723
{"id":266,"date":"2013-06-09T00:52:54","date_gmt":"2013-06-09T08:52:54","guid":{"rendered":"http:\/\/blog.unethost.com\/?p=266"},"modified":"2014-04-16T16:33:56","modified_gmt":"2014-04-16T08:33:56","slug":"mysq_forget_root-password","status":"publish","type":"post","link":"https:\/\/blog.unethost.com\/mysq_forget_root-password\/","title":{"rendered":"mysql\u5fd8\u8a18root password"},"content":{"rendered":"

\u9047\u5230\u9019\u7a2e\u4e0d\u5e78\u7684\u60c5\u6cc1\uff0c\u6700\u7c21\u55ae\u7684\u65b9\u5f0f\uff0c\u7576\u7136\u662f\u4f7f\u7528WHM\u7684\u529f\u80fd\uff0c\u5c31\u53ef\u4ee5\u7c21\u55ae\u5730\u91cd\u65b0\u8a2d\u5b9a\u3002<\/p>\n

\u7136\u800c\uff0c\u6709\u6642\u5019\uff0c\u56e0\u70ba\u6210\u672c\u7684\u56e0\u7d20\uff0c\u6211\u5011\u628acpanel\/WHM\u7684\u6210\u672c\u7701\u4e0b\u4f86\u7684\u6642\u5019\uff0c\u5c31\u5f97\u7528\u6bd4\u8f03\u8907\u96dc\u7684\u6280\u5de7\u4f86\u8655\u7406\u9019\u500b\u554f\u984c\uff1a<\/p>\n

1 \u00a0service mysql stop<\/p>\n

2 \u4fee\u6539 \/etc\/init.d\/mysql
\n\u627e\u5230 mysqld_safe \u9019\u4e00\u884c\uff0c\u52a0\u4e0a –skip-grant-tables<\/p>\n

3 service mysql start<\/p>\n

4 \u00a0\u73fe\u5728\u53ef\u4ee5\u4e0d\u7528\u5bc6\u78bc\u767b\u5165\u4e86\u3002
\nmysql \u00a0-u root
\nuse mysql;
\nupdate user set password=password(‘yournewpasswordhere’) where user=’root’;
\nflush privileges;
\nexit;<\/p>\n

5 service mysql restart<\/p>\n","protected":false},"excerpt":{"rendered":"

\u9047\u5230\u9019\u7a2e\u4e0d\u5e78\u7684\u60c5\u6cc1\uff0c\u6700\u7c21\u55ae\u7684\u65b9\u5f0f\uff0c\u7576\u7136\u662f\u4f7f\u7528WHM\u7684\u529f\u80fd\uff0c\u5c31\u53ef\u4ee5\u7c21\u55ae\u5730\u91cd\u65b0\u8a2d\u5b9a\u3002 \u7136\u800c\uff0c\u6709\u6642\u5019\uff0c\u56e0\u70ba\u6210\u672c\u7684\u56e0\u7d20 … \u95b1\u8b80\u5168\u6587 mysql\u5fd8\u8a18root password<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[3],"tags":[22,69],"_links":{"self":[{"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/posts\/266"}],"collection":[{"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/comments?post=266"}],"version-history":[{"count":2,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/posts\/266\/revisions"}],"predecessor-version":[{"id":638,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/posts\/266\/revisions\/638"}],"wp:attachment":[{"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/media?parent=266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/categories?post=266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/tags?post=266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}