aboutsummaryrefslogtreecommitdiff
path: root/scripts/mysql.sql
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mysql.sql')
-rw-r--r--scripts/mysql.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/mysql.sql b/scripts/mysql.sql
index 98e7bc39..e3f23ce0 100644
--- a/scripts/mysql.sql
+++ b/scripts/mysql.sql
@@ -1,2 +1,5 @@
+SET GLOBAL innodb_file_per_table = ON,
+ innodb_file_format = Barracuda,
+ innodb_large_prefix = ON;
DROP DATABASE IF EXISTS gogs;
CREATE DATABASE IF NOT EXISTS gogs CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;