Skip to content

Instantly share code, notes, and snippets.

@harmy
Last active December 21, 2015 14:18
Show Gist options
  • Select an option

  • Save harmy/6318187 to your computer and use it in GitHub Desktop.

Select an option

Save harmy/6318187 to your computer and use it in GitHub Desktop.
drop database if exists game;
drop database if exists info;
create database game default charset utf8;
create database info default charset utf8;
create user 'game'@'localhost' identified by 'game';
create user 'game'@'%' identified by 'game';
grant all privileges on game.* to 'game'@'localhost';
grant all privileges on game.* to 'game'@'%';
grant all privileges on info.* to 'game'@'localhost';
grant all privileges on info.* to 'game'@'%';
flush privileges;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment