my-medium.cnf 956 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. [client]
  2. port=3306
  3. socket=/run/mysqld/mysqld.sock
  4. default-character-set=utf8mb4
  5. [mysql]
  6. default-character-set=utf8mb4
  7. [mysqld_safe]
  8. socket=/run/mysqld/mysqld.sock
  9. [mysqld]
  10. user=mysql
  11. pid-file=/run/mysqld/mysqld.pid
  12. socket=/run/mysqld/mysqld.sock
  13. port=3306
  14. basedir=/usr
  15. datadir=/var/lib/mysql
  16. tmpdir=/tmp
  17. lc-messages-dir=/usr/share/mysql
  18. log_error=/var/log/mysql/error.log
  19. collation-server = utf8mb4_unicode_520_ci
  20. init-connect='SET NAMES utf8mb4'
  21. character-set-server = utf8mb4
  22. symbolic-links=0
  23. local-infile=0
  24. skip-external-locking
  25. key_buffer_size = 16M
  26. max_allowed_packet = 16M
  27. table_open_cache = 64
  28. sort_buffer_size = 512K
  29. net_buffer_length = 8K
  30. read_buffer_size = 256K
  31. read_rnd_buffer_size = 512K
  32. myisam_sort_buffer_size = 8M
  33. #innodb_use_native_aio = 0
  34. innodb_file_per_table
  35. max_connections=70
  36. max_user_connections=30
  37. wait_timeout=10
  38. interactive_timeout=50
  39. long_query_time=5
  40. !includedir /etc/mysql/conf.d/
  41. !includedir /etc/mysql/mariadb.conf.d/