How do I throw the contents of binary log to bit bucket? I tried to create a soft link but it did not work. I do not want to save mysql general log but I want to watch it using tail -f command.
ln -s /dev/null /var/log/mysql/mysql-gen.log
ln: creating symbolic link /var/log/mysql/mysql-gen.log to /dev/null: File exists