I have a dedicated server Linux Cenots 6 with 16GB RAM - Apache + Nginx MYSQL 5.6 please can someone let me know if my etc/my.cnf MYSQL configuration is ok or can it be improved
I am getting Reocurring error! the server quit without updating pid file - not sure if this is related to these settings or not
Secondly if i upgrade to MariaDb 10.3 would these same settings be ok or would changes be needed
[mysqld]
tmpdir = /tmp
innodb_file_per_table=1 default-storage-engine=MyISAM performance-schema=0 max_allowed_packet=500M open_files_limit=22000
tmp_table_size = 64M max_heap_table_size = 64M query_cache_type = 0 query_cache_size = 32M query_cache_limit = 10M max_connections = 28 max_user_connections = 28
table_open_cache = 650 thread_cache_size = 400
join_buffer_size = 20M read_buffer_size = 60M sort_buffer_size = 60M wait_timeout = 6580 connect_timeout = 6100 bulk_insert_buffer_size = 64M key_buffer_size = 32M
#log_slow_queries=mysql-slow.log long_query_time=4 log-queries-not-using-indexes=1
performance schema
performance_schema=on innodb_file_per_table=1 slow_query_log_file = host_name-slow.log
log_error = /var/log/mysql/error.log
lower_case_table_names = 2