“show databases” works.
“show users” doesn’t.
You need to query a system table.
If you drop a user, and the user doesn’t exist, you et this error;
“ERROR 1396 (HY000): Operation DROP USER failed for ‘datamail’@’%'”
That’s what mySQL says when it means “can’t find user”.
I also discovered that mysql records in plaintext all commands to .mysql_log.
Including the passwords used to create users.