Last active
August 18, 2021 20:04
-
-
Save thiagosf/2702b7a7cdb942e18e3fe77e3e03bad3 to your computer and use it in GitHub Desktop.
Criando database e usuário no MySQL
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
| create database dbname character set utf8mb4 collate utf8mb4_general_ci; | |
| create user 'username'@'localhost' identified by 'pass'; | |
| grant all privileges on dbname.* to 'username'@'localhost'; | |
| flush privileges; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment