1.

How is the binary log rotated?(a) FLUSH LOGS(b) ROTATE LOGS(c) FLUSH BINLOG(d) ROTATE BINLOGI have been asked this question in semester exam.Question is taken from Making Database Backups topic in chapter Database Maintenance, Backups and Replication of MySQL

Answer»

The correct answer is (a) FLUSH LOGS

Easy EXPLANATION: MYSQL supports incremental backups. The SERVER should be started with the ‘–log-bin’ option to enable BINARY logging. The binary log files provide information to replicate CHANGES to the database.



Discussion

No Comment Found

Related InterviewSolutions