MySQL 5.1.54 Ubuntu 11.04
I\'am try to change bin log directory in my.conf as:
[mysqld] log_bin=/home/developer/logs/mysql/mysql-bin.log
Selinux might enforce the rule that MySQL database files have to live in /var/lib/mysql and not anywhere else. Try turning off selinux (selinux=0 on kernel boot command line) if you moved mysql to another directory.