Linux
MySQL/MariaDB tuning
Connect to UNIX socket in PHP: When the host name is set to „localhost“, then the connection to the server is made thru a domain socket by default. Check following parameters in /etc/mysql/my.cnf: max_connections table_open_cache thread_stack read_buffer_size join_buffer_size sort_buffer_size key_buffer_size Table size max_heap_table_size tmp_table_size Query cache query_cache_limit query_cache_min_res_unit query_cache query_cache_size Weiterlesen…