How to create and maintain users and roles, assign privileges mysql 8.0.
How to create and maintain users and roles, assign privileges mysql 8.0. mysql.user: User accounts, global privileges, and other non-privilege columns mysql.db: Database-level privileges mysql.tables_priv: Table-level privileges mysql.columns_priv: Column-level privileges mysql.procs_priv: Stored procedure and function privileges mysql.proxies_priv: Proxy-user privileg mysql> select DISTINCT User FROM mysql.user; +------------------+ | User | +------------------+ | pankaj | | rpl_user | | mysql.infoschema | | mysql.session | | mysql.sys | | root | +------------------+ 6 rows in set (0.00 sec) mysql> SELECT VALIDATE_PASSWORD_STRENGTH('weak'); +------------------------------------+ | VALIDATE_PASSWORD_STRENGTH('weak') | ...