修改域名
UPDATE wp_options SET option_value = replace( option_value, ‘http://旧域名’, ‘http://新域名’ ) WHERE option_name = ‘home’ OR option_name = ‘siteurl’;
UPDATE wp_posts SET post_content = replace( post_content, ‘http://旧域名’, ‘http://新域名’ ) ;
UPDATE wp_posts SET guid = replace( guid, ‘http://旧域名’, ‘http://新域名’ ) ;
重置密码为123456(注意后面的点)
UPDATE wp_users SET user_pass = $1$rSziHLDY$399k.JuJsy.oHVp5lquJC. WHERE ID = 1;