ikymwb

Untitled

Aug 3rd, 2019
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. [client]
  2. port=3306
  3. socket=/var/run/mysqld/mysqld.sock
  4.  
  5. [mysqld_safe]
  6. socket=/var/run/mysqld/mysqld.sock
  7.  
  8. [mysqld]
  9. user=mysql
  10. pid-file=/var/run/mysqld/mysqld.pid
  11. socket=/var/run/mysqld/mysqld.sock
  12. port=3306
  13. basedir=/usr
  14. datadir=/var/lib/mysql
  15. tmpdir=/tmp
  16. lc-messages-dir=/usr/share/mysql
  17. log_error=/var/log/mysql/error.log
  18.  
  19. symbolic-links=0
  20.  
  21. skip-external-locking
  22. key_buffer_size = 256M
  23. max_allowed_packet = 1024M
  24. table_open_cache = 500
  25. sort_buffer_size = 4M
  26. read_buffer_size = 4M
  27. read_rnd_buffer_size = 16M
  28. myisam_sort_buffer_size = 64M
  29. thread_cache_size = 8
  30. query_cache_size= 8M
  31.  
  32. #innodb_use_native_aio = 0
  33. innodb_file_per_table
  34. innodb_buffer_pool_size = 2G
  35. innodb_log_buffer_size = 8M
  36. innodb_log_file_size = 256M
  37. innodb_lock_wait_timeout = 120
  38.  
  39.  
  40. max_connections=200
  41. max_user_connections=50
  42. wait_timeout=60
  43. interactive_timeout=60
  44. long_query_time=15
  45.  
  46. !includedir /etc/mysql/conf.d/
Add Comment
Please, Sign In to add comment