Skip to content

Instantly share code, notes, and snippets.

@thiagosf
Last active August 18, 2021 20:04
Show Gist options
  • Select an option

  • Save thiagosf/2702b7a7cdb942e18e3fe77e3e03bad3 to your computer and use it in GitHub Desktop.

Select an option

Save thiagosf/2702b7a7cdb942e18e3fe77e3e03bad3 to your computer and use it in GitHub Desktop.
Criando database e usuário no MySQL
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