CREATE DATABASE gitea CHARACTER SET 'utf8mb4' COLLATE 'utf8mb4_bin';

CREATE USER 'gitea'@'localhost' IDENTIFIED BY 'git';
GRANT ALL PRIVILEGES ON *.* TO 'gitea'@'localhost';

CREATE USER 'gitea'@'%' IDENTIFIED BY 'git';
GRANT ALL PRIVILEGES ON *.* TO 'gitea'@'%';
SHOW GRANTS FOR gitea;
FLUSH PRIVILEGES;
