thedocks/gitea/reset-gitea-mysql.sql

5 lines
177 B
MySQL
Raw Normal View History

2021-11-12 16:14:45 +00:00
DROP DATABASE IF EXISTS gitea;
CREATE DATABASE gitea CHARACTER SET 'utf8mb4' COLLATE 'utf8mb4_unicode_ci';
GRANT ALL PRIVILEGES ON gitea.* TO 'gitea';
FLUSH PRIVILEGES;
exit