1.

To create or drop events for a database, which privilege should be granted?(a) CREATE(b) DROP(c) PRIVILEGE(d) EVENTI had been asked this question in final exam.Query is from Events in division Stored Programs of MySQL

Answer»

Right choice is (d) EVENT

The BEST explanation: In MySQL, all EVENTS belong to some DATABASE, so the EVENT privilege must be granted for that database in order to both create or DROP the events for it. An event is a stored PROGRAM.



Discussion

No Comment Found

Related InterviewSolutions