I'm trying to list all users in a MySQL 5.0.67 installation with no databases associated, because I have to delete them. The Mysql installation previously had ~500 databases in it and someone did a sort of cleaning deleting all empty databases, but not the related users.
I think I should play with information_schema and mysql database to find what I'm looking for. Right?
Does anyone could help me please?
Thanks in advance!
USAGEpermission?