Last active
February 7, 2018 13:57
-
-
Save pcornier/56f1700fd7baa5221a62 to your computer and use it in GitHub Desktop.
Drush
This file contains hidden or 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
- Flush bootstrap cache (hooks) | |
drush ev "cache_clear_all('*', 'cache_bootstrap', TRUE)" | |
- change username & password | |
drush sqlq "UPDATE users SET name='admin' WHERE uid=1" | |
drush upwd admin --password="admin" | |
- Violent flush | |
drush sqlq 'truncate cache' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment