Skip to content
Snippets Groups Projects
Verified Commit d705f806 authored by David Beniamine's avatar David Beniamine
Browse files

COnfigure mysql for nextcloud

parent 68ff4571
No related branches found
No related tags found
No related merge requests found
[server]
skip-name-resolve
innodb_buffer_pool_size = 128M
innodb_buffer_pool_instances = 1
innodb_flush_log_at_trx_commit = 2
innodb_log_buffer_size = 32M
innodb_max_dirty_pages_pct = 90
query_cache_type = 1
query_cache_limit = 2M
query_cache_min_res_unit = 2k
query_cache_size = 64M
tmp_table_size= 64M
max_heap_table_size= 64M
slow-query-log = 1
slow-query-log-file = /var/log/mysql/slow.log
long_query_time = 1
[client-server]
!includedir /etc/mysql/conf.d/
!includedir /etc/mysql/mariadb.conf.d/
[client]
default-character-set = utf8mb4
[mysqld]
character-set-server = utf8mb4
collation-server = utf8mb4_general_ci
transaction_isolation = READ-COMMITTED
binlog_format = ROW
innodb_large_prefix=on
innodb_file_format=barracuda
innodb_file_per_table=1
...@@ -61,6 +61,7 @@ else ...@@ -61,6 +61,7 @@ else
exit exit
fi fi
cp etc/mysql/my.cnf /etc/mysql/my.cnf
echo "service mysql start" echo "service mysql start"
service mysql start service mysql start
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment