Which variable is set to zero when automatic privilege granting is not needed?
A. automatic_sp_privileges
B. automatic_ps_privileges
C. automatic_pg_privileges
D. automatic_gp_privileges
Answer: Option A
Solution (By Examveda Team)
This question asks about a MySQL variable that controls whether privileges are automatically granted.Let's break down the options:
Option A: automatic_sp_privileges - This variable is the correct answer. It determines if privileges for stored procedures are automatically granted. Setting it to zero means automatic privilege granting is not needed.
Option B: automatic_ps_privileges - This option doesn't exist in MySQL.
Option C: automatic_pg_privileges - This option doesn't exist in MySQL.
Option D: automatic_gp_privileges - This option doesn't exist in MySQL.
In summary, when you want to avoid automatic privilege granting for stored procedures, you set the `automatic_sp_privileges` variable to zero.
Related Questions on MySQL Miscellaneous
How is communication established with MySQL?
A. SQL
B. Network calls
C. A programming language like C++
D. APIs
Which type of database management system is MySQL?
A. Object-oriented
B. Hierarchical
C. Relational
D. Network
Join The Discussion