Skip to content

Instantly share code, notes, and snippets.

@ptahdunbar
Created April 19, 2016 17:28
Show Gist options
  • Save ptahdunbar/3873f5cf59a1dbc4dcb46b18abf12045 to your computer and use it in GitHub Desktop.
Save ptahdunbar/3873f5cf59a1dbc4dcb46b18abf12045 to your computer and use it in GitHub Desktop.
--
SELECT * FROM core_config_data WHERE scope = 'default' AND path LIKE '%secure/base_url%';
SET @DOMAIN = 'magento.dev';
UPDATE core_config_data SET `value` = CONCAT('https://', @DOMAIN, '/') WHERE path = 'web/secure/base_url';
UPDATE core_config_data SET `value` = CONCAT('http://', @DOMAIN, '/') WHERE path = 'web/unsecure/base_url';
SELECT * FROM core_config_data WHERE scope = 'default' AND path LIKE '%secure/base_url%';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment