Last active
August 29, 2015 14:09
-
-
Save roncat/3991e5591c83399c4a61 to your computer and use it in GitHub Desktop.
MySQL
This file contains 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
MySQL Machine | |
============= | |
- COMMANDS | |
mysqladmin -u root -p create prime | |
mysql -uroot -p -e "GRANT ALL PRIVILEGES ON prime.* TO ’prime’@’%’ IDENTIFIED BY ’prime’;" | |
mysql -u root -p -e "SHOW DATABASES" | |
mysql -u loja -p loja_schema -e "select database(), user()" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment