UPDATE `wp_options` SET `option_value` = 'http://newsite' WHERE `option_id` IN (1, 2);UPDATE wp_posts SET post_content = REPLACE(post_content, 'http://localhost', 'www.yourlivesite.com/');
UPDATE wp_posts SET guid = REPLACE(guid, 'http://localhost', 'www.yourlivesite.com/');