Configuring/change MySQL bin-logs files location
Many of you maybe have faced the problem with growing size of their database and desperate need of storage on the partition where MySQL database is located.
[root@xxxx2 mysql]# /etc/init.d/mysqld stop
Stopping mysqld: [ OK ]
log-bin=/home/mysql_dados/xxxx2_bin_logs
[root@xxxx2 mysql_dados]# cp mysql-bin.* /home/mysql_dados/xxxx2_bin_logs
[root@xxxx2 mysql_dados]# /etc/init.d/mysqld start
Starting mysqld: [ OK ]