Guest User

Paste

a guest
Feb 21st, 2019
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. update core_config_data set value = 'https://m1-mc.stgin.com/' where path = 'web/unsecure/base_url';
  2. update core_config_data set value = 'https://m1-mc.stgin.com/' where path = 'web/secure/base_url';
  3.  
  4. update core_config_data set value = 'https://dev.m1-mc.stgin.com/' where path = 'web/unsecure/base_url';
  5. update core_config_data set value = 'https://dev.m1-mc.stgin.com/' where path = 'web/secure/base_url';
  6.  
  7. IS THIS CORRECT? ->
  8. ----------------------------------------------------------------------------------------------------------------------------
  9. update core_config_data set value = 'm1-mc.stgin.com' where path = 'web/cookie/cookie_domain';
  10. update core_config_data set value = '/' where path = 'web/cookie/cookie_path';
  11.  
  12. update core_config_data set value = 'm1-mc.stgin.com' where path = 'web/cookie/cookie_domain';
  13. update core_config_data set value = '/' where path = 'web/cookie/cookie_path';"
  14. ----------------------------------------------------------------------------------------------------------------------------
  15.  
  16. SET @salt = MD5(UNIX_TIMESTAMP());
  17. UPDATE admin_user SET password = CONCAT(SHA2(CONCAT(@salt, 'MyNewPassword'), 256), ':', @salt, ':1') WHERE username = 'admin';
  18.  
  19. UPDATE admin_user SET password = CONCAT(MD5('admin') WHERE username = 'admin';
  20. UPDATE admin_user SET password = CONCAT(SHA2(CONCAT(@salt, 'admin123'), 256), ':', @salt, ':1') WHERE username = 'admin';
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38. update core_config_data set value = 'https://m1.learning-mairis.stgin.com/' where path = 'web/unsecure/base_url';
Add Comment
Please, Sign In to add comment