Skip to content

Commit

Permalink
Create mysql.cnf
Browse files Browse the repository at this point in the history
  • Loading branch information
nemke82 authored Dec 7, 2019
1 parent b7b0063 commit 2492e27
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions mysql.cnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[mysqld_safe]
socket = /var/run/mysqld/mysqld.sock
nice = 0

[mysqld]
user = gitpod
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /workspace/mysql
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
skip-external-locking
bind-address = 127.0.0.1

key_buffer_size = 16M
max_allowed_packet = 16M
thread_stack = 192K
thread_cache_size = 8

myisam-recover-options = BACKUP
query_cache_limit = 1M
query_cache_size = 16M

general_log_file = /var/log/mysql/mysql.log
general_log = 1
log_error = /var/log/mysql/error.log

expire_logs_days = 10
max_binlog_size = 100M

0 comments on commit 2492e27

Please sign in to comment.