Last active
July 13, 2021 17:22
-
-
Save MarceloGlez/63f5f33ed8271666b2366f1918cbfc07 to your computer and use it in GitHub Desktop.
Código elemental para actualizar la base de datos en SQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Intruducir cada línea por separado en BD creada previamente en phpMyAdmin*/ | |
UPDATE wp_options SET option_value = REPLACE ( option_value, 'webanterior.com', 'webnueva.com' ); | |
UPDATE wp_posts SET guid = REPLACE ( guid, 'webanterior.com', 'webnueva.com' ); | |
UPDATE wp_posts SET post_content = REPLACE ( post_content, 'webanterior.com', 'webnueva.com' ); | |
UPDATE wp_postmeta SET meta_value = REPLACE ( meta_value, 'webanterior.com', 'webnueva.com' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment