[英]Innodb_buffer_pool_size not set
I am trying to update MySQL "innodb_buffer_pool_size" in windows server.我正在尝试在 Windows 服务器中更新 MySQL“innodb_buffer_pool_size”。 I have run "set global innodb_buffer_pool_size=256 1024 1024".
我已经运行了“设置全局 innodb_buffer_pool_size=256 1024 1024”。 After I restart the server it's set back to 8M again.
在我重新启动服务器后,它再次设置回 8M。
If I change my.ini file then MySQL57 service is not running.如果我更改 my.ini 文件,则 MySQL57 服务未运行。
I am using MySQL 5.7.36.我正在使用 MySQL 5.7.36。
To save setting, you need to put them in a my.ini file that the mysql server reads on startup.要保存设置,您需要将它们放在 mysql 服务器在启动时读取的 my.ini 文件中。
SET GLOBAL...
only affect the current running instance. SET GLOBAL...
只影响当前运行的实例。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.