1) Added following parameters to /opt/bitnami/mysql/my.cnf. (Not sure log-bin or log_bin is correct)
log-bin=mysql-bin log_bin = /opt/bitnami/apps/mysqldb/mysql-bin.log expire_logs_days = 10 max_binlog_size = 100M
2) sudo /opt/bitnami/ctlscript.sh restart mysql
3) mysql> show binary logs; ERROR 1381 (HY000): You are not using binary logging mysql>
Please give me the steps to enable binary logging.