?
Which variable is set to zero when automatic privilege granting is not needed?
Answer & Solution
Correct Answer:
Option
A
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.
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.
Join the Discussion
Login to post a comment or share your explanation.
Login