Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Guillaume Hervier
slapos
Commits
d7aa93af
Commit
d7aa93af
authored
Oct 14, 2011
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make xwiki's my.cnf template just same as mysql's one.
parent
3a6665e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
37 deletions
+17
-37
slapos/recipe/xwiki/template/my.cnf.in
slapos/recipe/xwiki/template/my.cnf.in
+17
-37
No files found.
slapos/recipe/xwiki/template/my.cnf.in
View file @
d7aa93af
...
@@ -18,56 +18,36 @@ log-error = %(error_log)s
...
@@ -18,56 +18,36 @@ log-error = %(error_log)s
slow_query_log
slow_query_log
slow_query_log_file = %(slow_query_log)s
slow_query_log_file = %(slow_query_log)s
long_query_time = 5
long_query_time = 5
skip-locking
key_buffer = 384M
max_allowed_packet = 128M
max_allowed_packet = 128M
table_cache = 512
sort_buffer_size = 2M
read_buffer_size = 2M
read_rnd_buffer_size = 8M
myisam_sort_buffer_size = 64M
thread_cache_size = 8
query_cache_size = 32M
query_cache_size = 32M
# Try number of CPU's*2 for thread_concurrency
thread_concurrency = 8
# Replication Master Server (default)
plugin-load = ha_innodb_plugin.so
# binary logging is required for replication
log-bin=mysql-bin
# required unique id between 1 and 2^32 - 1
# The following are important to configure and depend a lot on to the size of
# defaults to 1 if master-host is not set
# your database and the available resources.
# but will not function as a master if omitted
#innodb_buffer_pool_size = 4G
server-id = 1
#innodb_log_file_size = 256M
#innodb_log_buffer_size = 8M
# Some dangerous settings you may want to uncomment if you only want
# performance or less disk access. Useful for unit tests.
#innodb_flush_log_at_trx_commit = 0
#innodb_flush_method = nosync
#innodb_doublewrite = 0
#sync_frm = 0
# Uncomment the following if you need binary logging, which is recommended
# on production instances (either for replication or incremental backups).
#log-bin=mysql-bin
# Force utf8 usage
# Force utf8 usage
collation_server = utf8_unicode_ci
collation_server = utf8_unicode_ci
character_set_server = utf8
character_set_server = utf8
default-character-set = utf8
skip-character-set-client-handshake
skip-character-set-client-handshake
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
[mysql]
no-auto-rehash
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
socket = %(socket)s
socket = %(socket)s
[isamchk]
key_buffer = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M
[myisamchk]
key_buffer = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M
[mysqlhotcopy]
[mysqlhotcopy]
interactive-timeout
interactive-timeout
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment