Αποτελέσματα Αναζήτησης
The MySQL SHOW GRANTS statement returns all privileges and roles granted to an account user or role. Here’s the basic syntax of the SHOW GRANTS statement: SHOW GRANTS [ FOR { user | role } [ USING role [, role ] ...]]
24 Σεπ 2008 · To display the privileges granted to the current user (the account you are using to connect to the server), you can use any of the following statements: SHOW GRANTS; SHOW GRANTS FOR CURRENT_USER; SHOW GRANTS FOR CURRENT_USER();
For the current user, applications can determine privileges with or without mandatory roles by using SHOW GRANTS or SHOW GRANTS FOR CURRENT_USER, respectively.
To enable the user account to work with database objects, you need to grant it privileges. You use the GRANT statement to assign one or more privileges to the user account. Here’s the basic syntax of the GRANT statement: GRANT privilege [,privilege],.. ON privilege_level.
28 Αυγ 2012 · Use Percona Toolkit's pt-show-grants, for example: pt-show-grants --host localhost --user root --ask-pass. In both cases you can ask for the GRANT command or the REVOKE (opposite) command. The first case requires that you install a schema, the latter requires that you install PERL scripts + dependencies. Share.
The world's most popular open source database ... InnoDB Cluster; MySQL NDB Cluster; Connectors; More; MySQL.com; Downloads; Developer Zone; Section Menu: Documentation Home. MySQL 5.7 Reference Manual. Preface and Legal Notices. General Information. Installing and Upgrading MySQL. Tutorial. MySQL Programs. MySQL Server Administration. Security ...
SHOW GRANTS [FOR user|role] Description. The SHOW GRANTS statement lists privileges granted to a particular user or role. Users. The statement lists the GRANT statement or statements that must be issued to duplicate the privileges that are granted to a MariaDB user account.