How can I check if a user exists?
Im doing an installer for a mysql database, and I need to check if a user exits, if not create user, if yes delete user and create it a
As newer versions of MySQL allow this option:
DROP USER IF EXISTS 'username'@'host';