Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
UPDATE staging.core_config_data SET value = CONCAT( LEFT(value, LENGTH(value) -1), ':8888/') WHERE path LIKE '%web/unsecure%' AND value LIKE '%http://%';
UPDATE staging.core_config_data SET value = CONCAT( LEFT(value, LENGTH(value) -1), ':8443/') WHERE path LIKE '%web/unsecure%' AND value LIKE '%https://%';
UPDATE staging.core_config_data SET value = CONCAT( LEFT(value, LENGTH(value) -1), ':8888/') WHERE path LIKE '%web/secure%' AND value LIKE '%http://%';
UPDATE staging.core_config_data SET value = CONCAT( LEFT(value, LENGTH(value) -1), ':8443/') WHERE path LIKE '%web/secure%' AND value LIKE '%https://%';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.