Centos 6 64bit enable my.cnf

garethhallnz picture garethhallnz · Sep 3, 2012 · Viewed 13.6k times · Source

Can someone please tell me how to enable my.cnf options in CentOS 6?

I have all the expected .cnf files in /usr/share/mysql but they simply don't work.

/etc/init.d/mysqld --help --verbose
Usage: /etc/init.d/mysqld {start|stop|status|restart|condrestart|try-restart|reload|force-reload}

Answer

RobinUS2 picture RobinUS2 · Sep 3, 2012

Default location is /etc/my.cnf as far as I'm aware of. Maybe you should try and copy them over there and restart?