ps_is_account_enabled
This function checks whether a specific user account is enabled for instrumentation in the Performance Schema setup_actors table.
Syntax
sys.ps_is_account_enabled(host,user)Description
Examples
SELECT sys.ps_is_account_enabled('localhost', 'root');
+------------------------------------------------+
| sys.ps_is_account_enabled('localhost', 'root') |
+------------------------------------------------+
| YES |
+------------------------------------------------+Last updated
Was this helpful?

