Skip to content

Instantly share code, notes, and snippets.

@quagliato
Created May 22, 2015 19:33
Show Gist options
  • Save quagliato/75248a5ce14f4bb22760 to your computer and use it in GitHub Desktop.
Save quagliato/75248a5ce14f4bb22760 to your computer and use it in GitHub Desktop.
Executar um comando no MySQL pelo shell
mysql -h <HOST> -u root -p'<PASSWORD>' --execute="<SQL>" <DATABASE>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment