Server 无法启动、日志如下:
130507 12:22:11 mysqld started
130507 12:22:11 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
130507 12:22:11 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
130507 12:22:11 [ERROR] /usr/libexec/mysqld: unknown variable 'table_open_cache=64'
开始时我把table_open_cache=64注释掉、并在 /etc/my.cnf 下添加如下:
max_join_size=4294967295
但tail -f alert.log 时仍然报错:
130507 12:39:50 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
130507 12:39:50 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
130507 12:39:50 [ERROR] Can't find messagefile '/home/mysql/mysql/share/mysql/english/errmsg.sys'
后来细细一想、一开始我就错了、问题的本质是:mysqld_safe & 的启动目录不对、
FUCK、到官网查看说 max_join_size 是 bug、真是无语、这都能遇到
启动目录不对就抛一个 bug 给我、害我折腾了老半天、机器就是机器、始终没有人性化的一面