在生产服务器(LinuxMachineMySQL5.6.17)上,我试图找到my.cnf来更改系统变量,但是my.cnf不在/etc/my.cnf位置。它在usr/目录中。此外,该文件只包含注释,如-
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M请告诉我应该在哪里复制my.cnf,以及如何更改变量,例如-
innodb_buffer_pool_size = 200M
max_connections = 300发布于 2014-10-10 08:11:00
mysql以选项--默认- file =file开始使用指定的默认文件
变更config.file(my.cnf)
https://dba.stackexchange.com/questions/78847
复制相似问题