mysql set GRANT code example Example: mysql grant grant option GRANT ALL ON *.* TO 'user'@'localhost'; GRANT GRANT OPTION ON *.* TO 'user'@'localhost';