Jump to content

Recommended Posts

Hi,

 

I've been using MONYog to monitor my mysql installation and it has made recommendations.

 

I looked up and got the mysql variables to make the changes and got:

 

max_heap_table_size = 64M
key_buffer_size = 64M
tmp_table_size = 64M
innodb_log_file_size = 10485760
innodb_buffer_pool_size = 2.5GB
innodb_log_buffer_size = 4M
innodb_thread_concurrency = 8
innodb_flush_method = O_DIRECT
thread_cache_size = 25
query_cache_type = 1
query_cache_size = 1073741824
query_cache_limit = 2147483648
delay_key_write = OFF

 

I put that code at the bottom of the mysql config file and restarted it but the following mysql variables are not set:

 

  • key_buffer_size (defaults to 16M)
  • delay_key_write (defaults to ON)
  • innodb_log_file_size (defaults to 5M)
  • thread_cache_size (defaults to 0)
  • query_cache_size (defaults to disabled)
  • max_heap_table_size (defaults to 16M)

 

How do you set these settings in MySQL?

Link to comment
https://forums.phpfreaks.com/topic/142409-solved-mysql-and-settings-not-set/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.