as a database administrator or developer, you must have come across mysql, a widely used…