List users present in mysql
-- List all users present in mysql
mysql configurationintermediate
by MYSQL
13 views
-- List all users present in mysql
1234567891011
mysql>
select user,host,account_locked,password_expired from mysql.user;
+------------------+-----------+----------------+------------------+
| user       | host   | account_locked | password_expired |
+------------------+-----------+----------------+------------------+
| mysql.infoschema | localhost | YÂ Â Â Â Â Â Â | N |
| mysql.session.  | localhost | Y       | N |
| mysql.sys    | localhost | Y       | N |
| root       | localhost | N       | N |
+------------------+-----------+----------------+------------------+
4 rows in set (0.00 sec)Please to add comments
No comments yet. Be the first to comment!