mysql grant access command code example
Example 1: mysql grant grant option
GRANT ALL ON *.* TO 'user'@'localhost';
GRANT GRANT OPTION ON *.* TO 'user'@'localhost';
Example 2: mysql grant
if(curl_exec($ch) === false)
{
echo 'Curl error: ' . curl_error($ch);
}
else
{
echo 'Operation completed without any errors';