how to know the username of mysql usng cmd code example Example: how to check username in mysql command line SELECT User, Host FROM mysql.user;