Last active
August 29, 2015 14:06
-
-
Save keopx/00ac2962c19f854d5aac to your computer and use it in GitHub Desktop.
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
-- Verificar donde existe | |
SELECT * | |
FROM `variable` | |
WHERE `value` LIKE '%sites%' | |
LIMIT 0 , 30; | |
-- Modificar las variables de sites | |
UPDATE variable SET file_public_path = REPLACE(file_public_path, 'www.example.com', 'www.drupalexample.com'); | |
UPDATE variable SET file_private_path = REPLACE(file_private_path, 'www.example.com', 'www.drupalexample.com'); | |
-- Otros datos serializados que puedan aparecer | |
UPDATE variable SET value = REPLACE(value, 's:36:"sites/www.example.com', 's:42:"sites/www.drupalexample.com'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment