Returns YES or NO to indicate whether Performance Schema instrumentation for a given account is enabled.
YES
NO
in_host VARCHAR(60): The host name of the account to check.
in_host VARCHAR(60)
in_user VARCHAR(32): The user name of the account to check.
in_user VARCHAR(32)
An ENUM('YES','NO') value.
ENUM('YES','NO')
mysql> SELECT sys.ps_is_account_enabled('localhost', 'root'); +------------------------------------------------+ | sys.ps_is_account_enabled('localhost', 'root') | +------------------------------------------------+ | YES | +------------------------------------------------+
SELECT sys.ps_is_account_enabled('localhost', 'root');