How to set global innodb_buffer_pool_size?

前端 未结 5 723

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 21:48

    Look here innodb_buffer_pool_size documentation

    In there it says this variable can be set in option-file (my.cnf) or on the command line when starting the server.

    Also. I don't think you'll be able to assign the value of "system display" to this variable as it is a numeric. See the docs.

提交回复
热议问题