How to set global innodb_buffer_pool_size?

前端 未结 5 684

How to set the global innodb_buffer_pool_size mySQL variable? When I set it to system display I get this error:

ERROR 1238 (HY000):         


        
5条回答
  •  迷失自我
    2021-01-01 22:10

    You could do something like this from mysql command line / mysql workbench

    SET GLOBAL innodb_buffer_pool_size= (SELECT @@innodb_buffer_pool_size)*10
    #check via this:
    #SELECT @@innodb_buffer_pool_size/1024/1024/1024
    

提交回复
热议问题