mysql list databases user code example Example: show all users in mysql mysql> select * from mysql.user;