Copyright (C) 2000-2012 |
GNU Info (mysql.info)SHOW GRANTS`SHOW GRANTS' ............. `SHOW GRANTS FOR user' lists the grant commands that must be issued to duplicate the grants for a user. mysql> SHOW GRANTS FOR root@localhost; +---------------------------------------------------------------------+ | Grants for root@localhost | +---------------------------------------------------------------------+ | GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' WITH GRANT OPTION | +---------------------------------------------------------------------+ automatically generated by info2www version 1.2.2.9 |