kuailerener 发表于 2012-6-24 03:13:18

关于军哥博客上MYSQL优化问题

按照https://www.vpser.net/opt/vps-mysql-opt.html优化教程出现问题



port            = 3306
socket          = /tmp/mysql.sock
skip-external-locking
key_buffer_size = 16M
max_allowed_packet = 1M
table_open_cache = 64
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M

table_cachee = 4096         
query_cache_type
query_cache _size

此三行代码加上后MYSQL出错无法正常运作,删除了恢复正常

有可能是我理解错如何加这几段代码吗?

三行代码只加其中一行重启都无法运行,已经试过逐行代码保存后重启MYSQL都出错

licess 发表于 2012-6-24 09:09:11

文章都没看明白就网上加

table_cachee = 4096         
query_cache_type
query_cache _size
只写配置不写参数,而且拼写还有错误,启动肯定有错误

table_cache = 4096
query_cache _size = 32M
query_cache_type = 1

kuailerener 发表于 2012-6-24 14:23:32

罪过罪过....:lol
页: [1]
查看完整版本: 关于军哥博客上MYSQL优化问题