Created
October 28, 2016 13:46
-
-
Save edubarbieri/216683291d78cf89f7db8b2b33ebf13a to your computer and use it in GitHub Desktop.
Create new database and user 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
--Create Database | |
CREATE DATABASE wallet COLLATE 'utf8_general_ci'; | |
CREATE USER 'wallet'@'localhost' IDENTIFIED BY 'senha'; | |
GRANT ALL PRIVILEGES ON wallet.* TO 'wallet'@'localhost'; | |
FLUSH PRIVILEGES; | |
SHOW GRANTS FOR 'wallet'@'localhost'; | |
use wallet; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment