SHOW GRANTS FOR user
          SHOW GRANTS FOR user affiche la commande
          nécessaire pour donner les même droits qu'un utilisateur
          existant.
        
mysql> SHOW GRANTS FOR 'root'@'localhost';
+---------------------------------------------------------------------+
| Grants for root@localhost                                           |
+---------------------------------------------------------------------+
| GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' WITH GRANT OPTION |
+---------------------------------------------------------------------+
Depuis MySQL 4.1.2, pour lister les droits de la session courante, vous pouvez connaître le nom d'utilisateur de la session avec ces commandes :
SHOW GRANTS; SHOW GRANTS FOR CURRENT_USER; SHOW GRANTS FOR CURRENT_USER();
          Avant MySQL 4.1.2, vous pouviez connaître le nom
          d'identification de l'utilisation avec la fonction
          CURRENT_USER() (nouveau en MySQL 4.0.6).
          Puis, utilisez cette valeur avec la commande SHOW
          GRANTS. See Section 12.8.3, « Fonctions d'informations ».
        
          SHOW GRANTS est disponible depuis MySQL
          3.23.4.
        
This is a translation of the MySQL Reference Manual that can be found at dev.mysql.com. The original Reference Manual is in English, and this translation is not necessarily as up to date as the English version.

