I want to have multiple a MySQL users to be able to issue commands like
CREATE DATABASE dbTest;
But I also want each of t
Create a stored procedure that is defined by the admin user and invokes with the admin user privileges by using SQL SECURITY DEFINER. In the stored procedure,
Use USER() to get the current user login details.
Find out more about SQL SECURITY DEFINER.