Skip to content

Instantly share code, notes, and snippets.

@guilhermevini
Created June 19, 2017 16:43
Show Gist options
  • Save guilhermevini/aaaa7a24b1e577826fcdaa59ce12af9d to your computer and use it in GitHub Desktop.
Save guilhermevini/aaaa7a24b1e577826fcdaa59ce12af9d to your computer and use it in GitHub Desktop.
Muda senha do banco de dados
mysql -u root -h localhost -p
USE banco;
SET PASSWORD FOR 'user'@'localhost' = PASSWORD('senha');
FLUSH PRIVILEGES;
quit;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment