mysql grant DROP permission code example
Example 1: mysql grant
if(curl_exec($ch) === false)
{
echo 'Curl error: ' . curl_error($ch);
}
else
{
echo 'Operation completed without any errors';
Example 2: mysql update privileges
mysql> REVOKE ALL ON example_database.* FROM 'user_name'@'host_name';
mysql> GRANT privilege1, privilege2 ON example_database.* TO 'user_name'@'host_name';