File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -50,8 +50,6 @@ mysql_max_connections: 151
50
50
mysql_wait_timeout : 28800
51
51
52
52
# InnoDB settings.
53
- mysql_innodb_large_prefix : " 1"
54
- mysql_innodb_file_format : " barracuda"
55
53
mysql_innodb_file_per_table : " 1"
56
54
# Set .._buffer_pool_size up to 80% of RAM but beware of setting too high.
57
55
mysql_innodb_buffer_pool_size : " 256M"
@@ -61,6 +59,10 @@ mysql_innodb_log_buffer_size: "8M"
61
59
mysql_innodb_flush_log_at_trx_commit : " 1"
62
60
mysql_innodb_lock_wait_timeout : 50
63
61
62
+ # These settings require MySQL > 5.5.
63
+ mysql_innodb_large_prefix : " 1"
64
+ mysql_innodb_file_format : " barracuda"
65
+
64
66
# mysqldump settings.
65
67
mysql_mysqldump_max_allowed_packet : " 64M"
66
68
Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ wait_timeout = {{ mysql_wait_timeout }}
84
84
# InnoDB settings.
85
85
{% if mysql_supports_innodb_large_prefix %}
86
86
innodb_large_prefix = {{ mysql_innodb_large_prefix }}
87
- {% endif %}
88
87
innodb_file_format = {{ mysql_innodb_file_format }}
88
+ {% endif %}
89
89
innodb_file_per_table = {{ mysql_innodb_file_per_table }}
90
90
innodb_buffer_pool_size = {{ mysql_innodb_buffer_pool_size }}
91
91
innodb_log_file_size = {{ mysql_innodb_log_file_size }}
You can’t perform that action at this time.
0 commit comments