CREATE USER IF NOT EXISTS 'hyapp'@'%' IDENTIFIED BY 'hyapp';

GRANT ALL PRIVILEGES ON hyapp_room.* TO 'hyapp'@'%';
GRANT ALL PRIVILEGES ON hy_user.* TO 'hyapp'@'%';
GRANT ALL PRIVILEGES ON hy_wallet.* TO 'hyapp'@'%';
GRANT ALL PRIVILEGES ON hy_activity.* TO 'hyapp'@'%';

FLUSH PRIVILEGES;
