Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Something
Wednesday, July 11th, 2007 at 2:40:12pm MDT 

  1. [mysqld]
  2. datadir=/var/lib/mysql
  3. socket=/var/lib/mysql/mysql.sock
  4. #old_passwords=1
  5. skip-locking
  6. key_buffer = 256M
  7. max_allowed_packet = 16M
  8. table_cache = 2048
  9. sort_buffer_size = 1M
  10. read_buffer_size = 1M
  11. read_rnd_buffer_size = 8M
  12. myisam_sort_buffer_size = 8M
  13. thread_cache_size = 500
  14. thread_concurrency = 8
  15. query_cache_size = 256M
  16. tmp_table_size=64M
  17. back_log = 100
  18. max_connect_errors = 10000
  19. join_buffer_size=1M
  20. open-files = 20000
  21.  
  22. interactive_timeout = 600
  23. wait_timeout = 600
  24.  
  25.  
  26. max_connections=500
  27.  
  28. init-file = /var/lib/mysql/initfile.sql
  29. myisam_max_sort_file_size=10485760000
  30. #myisam_sort_buffer_size=8M
  31.  
  32. # The following directives should be commented out
  33. # but included as they are things that get added
  34. # very frequently on tickets. These are more in a
  35. # need-this-feature basis.
  36.  
  37. # The below 2 cannot be set on the fly. If the customer already has
  38. # InnoDB tables and wants to change the size of the InnoDB tablespace
  39. # and InnoDB logs, then:
  40. # 1. Run a full backup with mysqldump
  41. # 2. Stop MySQL
  42. # 3. Move current ibdata and ib_logfiles out of /var/lib/mysql
  43. # 4. Uncomment the below innodb_data_file_path and innodb_log_file_size
  44. # 5. Start MySQL (it will recreate new InnoDB files)
  45. # 6. Restore data from backup
  46. #innodb_data_file_path = ibdata1:2000M;ibdata2:10M:autoextend
  47. #innodb_log_file_size = 100M
  48.  
  49. #innodb_buffer_pool_size = 384M
  50. #innodb_additional_mem_pool_size = 20M
  51.  
  52. innodb_fast_shutdown=1
  53. #
  54. innodb_data_home_dir = /var/lib/mysql/ibdata
  55. innodb_file_per_table
  56. #
  57. # Data files must be able to hold your data and indexes.
  58. # Make sure that you have enough free disk space.
  59. innodb_data_file_path = ibdata1:10M:autoextend
  60. #
  61. # Set buffer pool size to 50-80% of your computer's memory
  62.  
  63. innodb_buffer_pool_size=4G
  64. innodb_additional_mem_pool_size=32M
  65. innodb_log_group_home_dir = /var/lib/mysqliblogs
  66. #
  67. innodb_log_files_in_group = 2
  68. #
  69. # Set the log file size to about 25% of the buffer pool size
  70. innodb_log_file_size=512M
  71. innodb_log_buffer_size=8M
  72.  
  73. #
  74. innodb_flush_log_at_trx_commit=1
  75. innodb_lock_wait_timeout=50
  76. #
  77. #innodb_flush_method=O_DIRECT
  78. #
  79. # Uncomment the next lines if you want to use them
  80. innodb_thread_concurrency=5
  81.  
  82.  
  83. #log-slow-queries=/var/lib/mysqllogs/slow-log
  84. #long_query_time=2
  85. #log-queries-not-using-indexes
  86.  
  87. #log-bin=/var/lib/mysqllogs/bin-log
  88. #log-slave-updates
  89. #expire_logs_days = 14
  90. server-id       = 1
  91.  
  92.  
  93. [mysql.server]
  94. user=mysql
  95. #basedir=/var/lib
  96.  
  97. [mysqld_safe]
  98. err-log=/var/log/mysqld.log
  99. pid-file=/var/run/mysqld/mysqld.pid
  100. open_files_limit=65536

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

worth-right
fantasy-obligation