Linux Server .conf Files Directory

Submitted by admin on Tue, 08/02/2016 - 19:37

Default options are read from the following files in the given order:


Default options are read from the following files in the given order:
/etc/my.cnf
/etc/mysql/my.cnf
/usr/etc/my.cnf
~/.my.cnf

restarting mysql or mysqld services


service mysqld start
service mysqld stop
service mysqld restart